Method: Fog::Compute::Bluebox::Real#get_product

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

#get_product(product_id) ⇒ Object

Get details of a product

Parameters

  • product_id<~Integer> - Id of flavor to lookup

Returns

  • response<~Excon::Response>:

    • body<~Array>:

TODO



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

def get_product(product_id)
  request(
    :expects  => 200,
    :method   => 'GET',
    :path     => "api/block_products/#{product_id}.json"
  )
end