Sha256: 593e4bebe453a8cd9a97493ae290cec61e75e60770d6d95a821b2002e2d8e50e
Contents?: true
Size: 641 Bytes
Versions: 3
Compression:
Stored size: 641 Bytes
Contents
# frozen_string_literal: true require_relative '../searcher' module LedgerSync module Adaptors module QuickBooksOnline module Bill class Searcher < QuickBooksOnline::Searcher def resources @resources ||= begin adaptor .query( resource: 'bill', limit: limit, offset: offset ) .map do |c| LedgerSync::Bill.new( ledger_id: c.fetch('Id') ) end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems