Sha256: 46b355924af0fee171293d0b3f46aa063dbb4d044f7cfeca7d4e415700aeff0d

Contents?: true

Size: 652 Bytes

Versions: 3

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

require_relative '../operation'

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Operation
        class SparseUpdate
          include QuickBooksOnline::Operation::Mixin

          private

          def operate
            response = adaptor.post(
              resource: quickbooks_online_resource_type,
              payload: merged_serializer.to_ledger_hash
            )

            response_to_operation_result(
              resource: ledger_serializer.deserialize(hash: response),
              response: response
            )
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/quickbooks_online/operation/sparse_update.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/operation/sparse_update.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/operation/sparse_update.rb