# File lib/fog/storm_on_demand/models/billing/invoices.rb, line 10 def all(options={}) invoices = service.list_invoices(options).body['items'] load(invoices) end
# File lib/fog/storm_on_demand/models/billing/invoices.rb, line 15 def get(invoice_id) invoice = service.get_invoice(:id => invoice_id).body new(invoice) end
# File lib/fog/storm_on_demand/models/billing/invoices.rb, line 20 def next invoice = service.next_invoice.body new(invoice) end