Sha256: e0524580af7e2c56d5529b78364648c9433ba5a95e5200eaac8c4b85511ac756
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module NetSuite module LedgerSerializerType class ActiveType < Adaptors::LedgerSerializerType::ValueType def convert_from_ledger(value:) return if value.nil? case value when "F" true when "T" false end end def convert_from_local(value:) raise NotImplementedError end 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/ledger_serializer_type/active_type.rb |