Sha256: e1d6842aa888751b42f48ada2491e5be1277ee5de07951daf98b8706cf6f9a16
Contents?: true
Size: 1.03 KB
Versions: 16
Compression:
Stored size: 1.03 KB
Contents
unless Fog.mocking? module Fog class Terremark # 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 end else module Fog class Terremark def get_vapp_template(vapp_template_id) raise MockNotImplemented.new("Contributions welcome!") end end end end
Version data entries
16 entries across 16 versions & 1 rubygems