Module: Billrb::Operations::List

Included in:
CreditMemo, Customer, Invoice, ReceivablePayment, RecurringInvoice
Defined in:
lib/billrb/operations.rb

Instance Method Summary collapse

Instance Method Details

#list(params = {}, options = {}) ⇒ Object



16
17
18
19
20
# File 'lib/billrb/operations.rb', line 16

def list(params = {}, options = {})
  client = Operations.client_from(options)
  data = client.get(resource_path, Util.camelize_keys(params))
  ListPage.new(self, data, params: params, client: client)
end