Class: Tripletexer::Endpoints::Ledger::AnnualAccount

Inherits:
AbstractEndpoint show all
Defined in:
lib/tripletexer/endpoints/ledger/annual_account.rb

Instance Method Summary collapse

Methods inherited from AbstractEndpoint

#initialize

Constructor Details

This class inherits a constructor from Tripletexer::Endpoints::AbstractEndpoint

Instance Method Details

#find(id, params = {}) ⇒ Object



12
13
14
# File 'lib/tripletexer/endpoints/ledger/annual_account.rb', line 12

def find(id, params = {})
  find_entity("/v2/ledger/annualAccount/#{id}", params)
end

#search(params = {}) ⇒ Object



7
8
9
# File 'lib/tripletexer/endpoints/ledger/annual_account.rb', line 7

def search(params = {})
  find_entities('/v2/ledger/annualAccount', params)
end