Fog::Collection
# File lib/fog/ibm/models/compute/vlans.rb, line 12 def all load(service.list_vlans.body['vlan']) end
# File lib/fog/ibm/models/compute/vlans.rb, line 16 def get(vlan_id) begin vlan = service.list_vlans.body new(vlan['vlan'].find{|vlan| vlan['id'] == vlan_id.to_s }) rescue Fog::Compute::IBM::NotFound nil end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.