Sha256: 1c817fed797566340909ca8681f4fa671b368e8b254fc502088440be2c28d483

Contents?: true

Size: 1.06 KB

Versions: 82

Compression:

Stored size: 1.06 KB

Contents

module Fog
  module Terremark
    module Shared
      module Real

        # Get details of a vapp template
        #
        # ==== Parameters
        # * vapp_template_id<~Integer> - Id of vapp template to lookup
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:

        # FIXME

        #     * 'CatalogItems'<~Array>
        #       * 'href'<~String> - linke to item
        #       * 'name'<~String> - name of item
        #       * 'type'<~String> - type of item
        #     * 'description'<~String> - Description of catalog
        #     * 'name'<~String> - Name of catalog
        def get_vapp_template(vapp_template_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :parser   => Fog::Parsers::Terremark::Shared::GetVappTemplate.new,
            :path     => "vAppTemplate/#{vapp_template_id}"
          )
        end

      end

      module Mock

        def get_vapp_template(vapp_template_id)
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

82 entries across 82 versions & 4 rubygems

Version Path
fog-0.5.1 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.5.0 lib/fog/terremark/requests/shared/get_vapp_template.rb
phpfog-fog-0.4.1.3 lib/fog/terremark/requests/shared/get_vapp_template.rb
phpfog-fog-0.4.1.2 lib/fog/terremark/requests/shared/get_vapp_template.rb
phpfog-fog-0.4.1.1 lib/fog/terremark/requests/shared/get_vapp_template.rb
phpfog-fog-0.4.1 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.4.1 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.4.0 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.34 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.33 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.32 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.31 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.30 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.29 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.28 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.27 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.26 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.25 lib/fog/terremark/requests/shared/get_vapp_template.rb
fog-0.3.24 lib/fog/terremark/requests/shared/get_vapp_template.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/terremark/requests/shared/get_vapp_template.rb