class Jortt::Client::LedgerAccounts
Exposes the operations available for a collection of customers.
@see { Jortt::Client.customers
}
Attributes
client[RW]
Public Class Methods
new(client)
click to toggle source
# File lib/jortt/client/ledger_accounts.rb, line 10 def initialize(client) @client = client end
Public Instance Methods
index()
click to toggle source
Returns the list of Ledger Accounts that can be used to categorize Line Items on an Invoice for in your Profit and Loss report using the GET /ledger_accounts/invoices endpoint. developer.jortt.nl/#list-invoice-ledger-accounts
@example
client.ledger_accounts.index
# File lib/jortt/client/ledger_accounts.rb, line 22 def index client.get('/ledger_accounts/invoices') end