Sha256: e623dc989febb160f6e8eea885d334cded210c2981a1e2b1a443965162b02d64

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

require 'fog/vcloud_director/models/compute/vm_network'

module Fog
  module VcloudDirector
    class Compute
      class VmNetworks < Collection
        model Fog::VcloudDirector::Compute::VmNetwork

        attribute :vm

        def get(id)
          data = service.get_vm_network(id).body
          new(data)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/models/compute/vm_networks.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/models/compute/vm_networks.rb