Class: LedgerSync::Ledgers::NetSuite::JournalEntry::Serializer
- Inherits:
-
Serializer
- Object
- Serializer
- Serializer
- LedgerSync::Ledgers::NetSuite::JournalEntry::Serializer
- Defined in:
- lib/ledger_sync/ledgers/netsuite/journal_entry/serializer.rb
Instance Method Summary collapse
Methods inherited from Serializer
attribute, attribute_class, attributes, references_many, references_one, #serialize, serializer_from
Methods included from Serialization::Mixin
Instance Method Details
#currency_present?(args = {}) ⇒ Boolean
27 28 29 30 31 |
# File 'lib/ledger_sync/ledgers/netsuite/journal_entry/serializer.rb', line 27 def currency_present?(args = {}) resource = args.fetch(:resource) resource.currency.present? end |