Sha256: 7d6f140cb6f71b8e379b65546fae30b169061e1eb79c0ae59f0288f76a52d70f
Contents?: true
Size: 479 Bytes
Versions: 7
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module QuickBooksOnline module LedgerSerializerType class DateType < Adaptors::LedgerSerializerType::MappingType def convert_from_ledger(value:) return value if value.nil? value.to_date end def convert_from_local(value:) return value if value.nil? value.to_s end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems