mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
32 lines
585 B
Ruby
32 lines
585 B
Ruby
module Fog
|
|
class Bluebox
|
|
class Real
|
|
|
|
# Get details of a product
|
|
#
|
|
# ==== Parameters
|
|
# * product_id<~Integer> - Id of flavor to lookup
|
|
#
|
|
# ==== Returns
|
|
# * response<~Excon::Response>:
|
|
# * body<~Array>:
|
|
# TODO
|
|
def get_product(product_id)
|
|
request(
|
|
:expects => 200,
|
|
:method => 'GET',
|
|
:path => "api/block_products/#{product_id}.json"
|
|
)
|
|
end
|
|
|
|
end
|
|
|
|
class Mock
|
|
|
|
def get_product(product_id)
|
|
Fog::Mock.not_implemented
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|