Class: LedgerSync::NetSuite::JournalEntry::Serializer

Inherits:
Serializer
  • Object
show all
Defined in:
lib/ledger_sync/netsuite/journal_entry/serializer.rb

Instance Method Summary collapse

Instance Method Details

#currency_present?(args = {}) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
30
31
# File 'lib/ledger_sync/netsuite/journal_entry/serializer.rb', line 27

def currency_present?(args = {})
  resource = args.fetch(:resource)

  resource.currency.present?
end