Method: Fog::Compute::Bluebox::Real#get_products

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

#get_productsObject

Get list of products

Returns

  • response<~Excon::Response>:

    • body<~Array>:

      • ‘id’<~String> - UUID of the product

      • ‘description’<~String> - Description of the product

      • ‘cost’<~Decimal> - Hourly cost of the product



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

def get_products
  request(
    :expects  => 200,
    :method   => 'GET',
    :path     => 'api/block_products.json'
  )
end