Sha256: d96f47df522047afa5eae4f99f41bc72aad30a5d964bfec460adb2aa08796da4
Contents?: true
Size: 1.05 KB
Versions: 14
Compression:
Stored size: 1.05 KB
Contents
module Fog module Terremark class Real require 'fog/terremark/parsers/get_vapp_template' # 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::GetVappTemplate.new, :path => "vAppTemplate/#{vapp_template_id}" ) end end class Mock def get_vapp_template(vapp_template_id) raise MockNotImplemented.new("Contributions welcome!") end end end end
Version data entries
14 entries across 14 versions & 1 rubygems