Sha256: 7af299c7e4018f3723d9a44070d630e60c63415c67b18d93d86e360c4dc6c823
Contents?: true
Size: 1015 Bytes
Versions: 5
Compression:
Stored size: 1015 Bytes
Contents
module Fog module Terremark class 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::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
5 entries across 5 versions & 1 rubygems