Class: LedgerSync::Ledgers::TestLedger::Customer::Searcher

Inherits:
Searcher show all
Defined in:
lib/ledger_sync/test/support/test_ledger/customer/searcher.rb

Instance Attribute Summary

Attributes inherited from Searcher

#client, #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

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

Methods included from Mixins::SerializationMixin

#deserializer, included, #serializer

Methods included from Mixins::InferSerializerMixin

included

Methods included from Mixins::InferResourceClassMixin

included

Constructor Details

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

Instance Method Details

#query_stringObject



8
9
10
# File 'lib/ledger_sync/test/support/test_ledger/customer/searcher.rb', line 8

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