Class: TesoteSdk::Models::SearchResult
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::SearchResult
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#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
#total ⇒ Object
Returns the value of attribute total
395 396 397 |
# File 'lib/tesote_sdk/models.rb', line 395 def total @total end |
#transactions ⇒ Object
Returns the value of attribute transactions
395 396 397 |
# File 'lib/tesote_sdk/models.rb', line 395 def transactions @transactions end |
Class Method Details
.build_field(key, value) ⇒ Object
398 399 400 401 402 403 |
# File 'lib/tesote_sdk/models.rb', line 398 def self.build_field(key, value) case key when 'transactions' then Transaction.from_array(value) else value end end |