Sha256: e773d309e950d4d31684ae0829cde438e6337ca6c33a2346c7e095c47802135e
Contents?: true
Size: 657 Bytes
Versions: 2
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module QuickBooksOnline module Account class Searcher < QuickBooksOnline::Searcher def resources @resources ||= begin adaptor .query( resource: 'account', query: "Name LIKE '%#{query}%'", limit: limit, offset: offset ) .map do |c| LedgerSerializer.new(resource: LedgerSync::Account.new).deserialize(hash: c) end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.1.3 | lib/ledger_sync/adaptors/quickbooks_online/account/searcher.rb |
ledger_sync-1.1.2 | lib/ledger_sync/adaptors/quickbooks_online/account/searcher.rb |