Class: TesoteSdk::Models::AccountList
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::AccountList
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#accounts ⇒ Object
Returns the value of attribute accounts.
-
#pagination ⇒ Object
Returns the value of attribute pagination.
-
#total ⇒ Object
Returns the value of attribute total.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#accounts ⇒ Object
Returns the value of attribute accounts
367 368 369 |
# File 'lib/tesote_sdk/models.rb', line 367 def accounts @accounts end |
#pagination ⇒ Object
Returns the value of attribute pagination
367 368 369 |
# File 'lib/tesote_sdk/models.rb', line 367 def pagination @pagination end |
#total ⇒ Object
Returns the value of attribute total
367 368 369 |
# File 'lib/tesote_sdk/models.rb', line 367 def total @total end |
Class Method Details
.build_field(key, value) ⇒ Object
370 371 372 373 374 375 376 |
# File 'lib/tesote_sdk/models.rb', line 370 def self.build_field(key, value) case key when 'accounts' then Account.from_array(value) when 'pagination' then Pagination.from_hash(value) else value end end |