Sha256: 9fce78ad408270d5138d0d18b8bd9a1be99e2f55dd73cbab64ed7e328962ddde

Contents?: true

Size: 578 Bytes

Versions: 11

Compression:

Stored size: 578 Bytes

Contents

# frozen_string_literal: true

require_relative '../operation'

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

        private

        def operate
          response = client.post(
            resource: quickbooks_online_resource_type,
            payload: merged_serializer.serialize
          )

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/operation/sparse_update.rb