Class: TesoteSdk::Models::TransactionList
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::TransactionList
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#pagination ⇒ Object
Returns the value of attribute pagination.
-
#total ⇒ Object
Returns the value of attribute total.
-
#transactions ⇒ Object
Returns the value of attribute transactions.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#pagination ⇒ Object
Returns the value of attribute pagination
379 380 381 |
# File 'lib/tesote_sdk/models.rb', line 379 def pagination @pagination end |
#total ⇒ Object
Returns the value of attribute total
379 380 381 |
# File 'lib/tesote_sdk/models.rb', line 379 def total @total end |
#transactions ⇒ Object
Returns the value of attribute transactions
379 380 381 |
# File 'lib/tesote_sdk/models.rb', line 379 def transactions @transactions end |
Class Method Details
.build_field(key, value) ⇒ Object
382 383 384 385 386 387 388 |
# File 'lib/tesote_sdk/models.rb', line 382 def self.build_field(key, value) case key when 'transactions' then Transaction.from_array(value) when 'pagination' then Pagination.from_hash(value) else value end end |