Method: Fog::Compute::Bluebox::Real#get_template

Defined in:
lib/fog/bluebox/requests/compute/get_template.rb

#get_template(template_id) ⇒ Object

Get details of a template

Parameters

  • template_id<~Integer> - Id of template to lookup

Returns

  • response<~Excon::Response>:

    • body<~Array>:

TODO



15
16
17
18
19
20
21
# File 'lib/fog/bluebox/requests/compute/get_template.rb', line 15

def get_template(template_id)
  request(
    :expects  => 200,
    :method   => 'GET',
    :path     => "api/block_templates/#{template_id}.json"
  )
end