Class: LedgerSync::Payment
- Defined in:
- lib/ledger_sync/resources/payment.rb
Instance Attribute Summary
Attributes inherited from Resource
#external_id, #ledger_id, #sync_token
Instance Method Summary collapse
Methods inherited from Resource
#==, attribute, #attributes, attributes, #initialize, klass_from_resource_type, reference, reference_klass, reference_resource_type, #references, references, resource_type, #serialize_attributes
Methods included from Validatable
#valid?, #validate, #validate_or_fail
Constructor Details
This class inherits a constructor from LedgerSync::Resource
Instance Method Details
#name ⇒ Object
7 8 9 |
# File 'lib/ledger_sync/resources/payment.rb', line 7 def name "Payment: #{amount} #{currency}" end |