Class: Dina::Transaction
- Defined in:
- lib/dina/models/transaction/transaction.rb
Instance Attribute Summary collapse
-
#accepted_directions ⇒ Object
Returns the value of attribute accepted_directions.
Class Method Summary collapse
Methods inherited from BaseModel
custom_headers, find_by_group, #initialize, properties, site
Constructor Details
This class inherits a constructor from Dina::BaseModel
Instance Attribute Details
#accepted_directions ⇒ Object
Returns the value of attribute accepted_directions.
31 32 33 |
# File 'lib/dina/models/transaction/transaction.rb', line 31 def accepted_directions @accepted_directions end |
Class Method Details
.accepted_directions ⇒ Object
41 42 43 44 45 46 |
# File 'lib/dina/models/transaction/transaction.rb', line 41 def self.accepted_directions [ "IN", "OUT" ] end |
.endpoint_path ⇒ Object
33 34 35 |
# File 'lib/dina/models/transaction/transaction.rb', line 33 def self.endpoint_path "loan-transaction/" end |
.table_name ⇒ Object
37 38 39 |
# File 'lib/dina/models/transaction/transaction.rb', line 37 def self.table_name "transaction" end |