Class: Fog::Compute::StormOnDemand::Product
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::StormOnDemand::Product
- Defined in:
- lib/fog/compute/storm_on_demand/models/product.rb
Instance Method Summary collapse
Instance Method Details
#price(options) ⇒ Object
19 20 21 22 |
# File 'lib/fog/compute/storm_on_demand/models/product.rb', line 19 def price() requires :identity service.get_product_price({:code => identity}.merge!()).body end |
#starting_price ⇒ Object
24 25 26 27 |
# File 'lib/fog/compute/storm_on_demand/models/product.rb', line 24 def starting_price requires :identity service.get_product_starting_price(:code => identity).body["items"] end |