Class: LedgerSync::Adaptors::QuickBooksOnline::LedgerClass::Searcher

Inherits:
Searcher
  • Object
show all
Defined in:
lib/ledger_sync/adaptors/quickbooks_online/ledger_class/searcher.rb

Instance Attribute Summary

Attributes inherited from Searcher

#adaptor, #pagination, #query, #request

Instance Method Summary collapse

Methods inherited from Searcher

#resources, #search

Methods included from Mixins::OffsetAndLimitPaginationSearcherMixin

#next_searcher, #previous_searcher

Methods inherited from Searcher

#initialize, #next_searcher, #previous_searcher, #resources, #search

Methods included from Mixins::InferLedgerSerializerMixin

included

Methods included from Mixins::InferResourceClassMixin

included

Constructor Details

This class inherits a constructor from LedgerSync::Adaptors::Searcher

Instance Method Details

#query_stringObject



8
9
10
# File 'lib/ledger_sync/adaptors/quickbooks_online/ledger_class/searcher.rb', line 8

def query_string
  "Name LIKE '%#{query}%'"
end