Class: LedgerSync::Adaptors::QuickBooksOnline::JournalEntry::Searcher
- Defined in:
- lib/ledger_sync/adaptors/quickbooks_online/journal_entry/searcher.rb
Instance Attribute Summary
Attributes inherited from Searcher
Instance Method Summary collapse
Methods inherited from Searcher
#next_searcher, #previous_searcher, #search
Methods inherited from Searcher
#initialize, #next_searcher, #previous_searcher, #search
Constructor Details
This class inherits a constructor from LedgerSync::Adaptors::Searcher
Instance Method Details
#resources ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/ledger_sync/adaptors/quickbooks_online/journal_entry/searcher.rb', line 9 def resources @resources ||= begin adaptor .query( resource: 'journal_entry', limit: limit, offset: offset ) .map do |c| LedgerSync::JournalEntry.new( ledger_id: c.fetch('Id') ) end end end |