class Fog::Compute::StormOnDemand::Product
Public Class Methods
new(attributes={})
click to toggle source
Calls superclass method
# File lib/fog/storm_on_demand/models/compute/product.rb, line 21 def initialize(attributes={}) super end
Public Instance Methods
price(options)
click to toggle source
# File lib/fog/storm_on_demand/models/compute/product.rb, line 25 def price(options) requires :identity service.get_product_price({:code => identity}.merge!(options)).body end
starting_price()
click to toggle source
# File lib/fog/storm_on_demand/models/compute/product.rb, line 30 def starting_price requires :identity service.get_product_starting_price(:code => identity).body['items'] end