Class: LedgerSync::PaymentLineItem

Inherits:
Resource
  • Object
show all
Defined in:
lib/ledger_sync/resources/payment_line_item.rb

Constant Summary

Constants inherited from Resource

Resource::PRIMITIVES

Instance Method Summary collapse

Methods inherited from Resource

#==, #assign_attribute, #assign_attributes, #changed?, #changes, #dup, inherited, #klass_from_resource_type, resource_module_str, resource_type, serialize_attribute?, #to_h

Methods included from ResourceAttribute::Reference::Many::Mixin

included

Methods included from ResourceAttribute::Reference::One::Mixin

included

Methods included from ResourceAttribute::Mixin

#assign_attribute, #assign_attributes, included, #initialize, #resource_attributes, #save, #serialize_attributes

Methods included from Validatable

#valid?, #validate, #validate_or_fail

Instance Method Details

#nameObject



11
12
13
# File 'lib/ledger_sync/resources/payment_line_item.rb', line 11

def name
  amount
end