Sha256: 0c16f376b897652d8163fd0c7d574616e97ff44d548ab61b01126928a3234d27

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Department
        class SearcherLedgerDeserializer < NetSuite::LedgerSerializer
          attribute ledger_attribute: :id,
                    resource_attribute: :ledger_id

          attribute ledger_attribute: :name,
                    resource_attribute: :name

          attribute ledger_attribute: :isinactive,
                    resource_attribute: :active,
                    type: LedgerSerializerType::ActiveType
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/department/searcher_ledger_deserializer.rb