class Fog::Billing::StormOnDemand::Invoices
Public Instance Methods
all(options = {})
click to toggle source
# File lib/fog/billing/storm_on_demand/models/invoices.rb, line 7 def all(options = {}) invoices = service.list_invoices(options).body['items'] load(invoices) end
get(invoice_id)
click to toggle source
# File lib/fog/billing/storm_on_demand/models/invoices.rb, line 12 def get(invoice_id) invoice = service.get_invoice(:id => invoice_id).body new(invoice) end
next()
click to toggle source
# File lib/fog/billing/storm_on_demand/models/invoices.rb, line 17 def next invoice = service.next_invoice.body new(invoice) end