Sha256: 6d4404e97f435ac5ae26f71da77e9bf7fb50b393e31f2ff1809814de169f1144

Contents?: true

Size: 784 Bytes

Versions: 3

Compression:

Stored size: 784 Bytes

Contents

module Fog
  module Vcloud
    module Terremark
      module Ecloud
        module Mock
          def vdcs(options = {})
            @vdcs ||= Fog::Vcloud::Terremark::Ecloud::Vdcs.new(options.merge(:connection => self))
          end
        end

        module Real
          def vdcs(options = {})
            @vdcs ||= Fog::Vcloud::Terremark::Ecloud::Vdcs.new(options.merge(:connection => self))
          end
        end

        class Vdcs < Fog::Vcloud::Vdcs

          undef_method :create

          model Fog::Vcloud::Terremark::Ecloud::Vdc

          #get_request :get_vdc
          #vcloud_type "application/vnd.vmware.vcloud.vdc+xml"
          #all_request lambda { |vdcs| vdcs.connection.get_organization(vdcs.organization_uri) }

        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-0.2.0 lib/fog/vcloud/terremark/ecloud/models/vdcs.rb
fog-0.1.10 lib/fog/vcloud/terremark/ecloud/models/vdcs.rb
fog-0.1.9 lib/fog/vcloud/terremark/ecloud/models/vdcs.rb