class Fog::Compute::StormOnDemand::Products
Public Instance Methods
all(options = {})
click to toggle source
# File lib/fog/compute/storm_on_demand/models/products.rb, line 16 def all(options = {}) service.list_products(options).body["items"] end
get(product_code)
click to toggle source
# File lib/fog/compute/storm_on_demand/models/products.rb, line 7 def get(product_code) prod = service.get_product(:code => product_code).body new(prod) end
get_product_code(options)
click to toggle source
# File lib/fog/compute/storm_on_demand/models/products.rb, line 12 def get_product_code(options) service.get_product_code(options).body end