Class: FinancialTransactionTypeSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- FinancialTransactionTypeSerializer
- Defined in:
- app/serializers/financial_transaction_type_serializer.rb
Instance Method Summary collapse
Instance Method Details
#bank_account_iban ⇒ Object
14 15 16 |
# File 'app/serializers/financial_transaction_type_serializer.rb', line 14 def bank_account_iban object.bank_account.try(:iban) end |
#bank_account_name ⇒ Object
10 11 12 |
# File 'app/serializers/financial_transaction_type_serializer.rb', line 10 def bank_account_name object.bank_account.try(:name) end |
#financial_transaction_class_name ⇒ Object
6 7 8 |
# File 'app/serializers/financial_transaction_type_serializer.rb', line 6 def financial_transaction_class_name object.financial_transaction_class.name end |