Sha256: de938a8e611dba9e22b95ba6b536d0c5861bb740f98bcd9c2f817efad7031ea6

Contents?: true

Size: 588 Bytes

Versions: 9

Compression:

Stored size: 588 Bytes

Contents

module Fog
  module Bluebox
    class Compute
      class Real

        # 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
        def get_products
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => 'api/block_products.json'
          )
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.8.1 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.8.0 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.7.2 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.7.1 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.7.0 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.6.0 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.5.3 lib/fog/compute/requests/bluebox/get_products.rb
fog-0.5.2 lib/fog/compute/requests/bluebox/get_products.rb