Class: GetStatusResponse::Attr
- Defined in:
- lib/dto/status/get_status_response.rb
Overview
Class Attr represents elements of server response on get_status
Status API request. Server response is sent to initializer which creates object with attributes timestamp
, errors
, attributes
accessible via getters:
attr = Attr.new(...)
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Method Summary
Methods inherited from Struct
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
30 31 32 |
# File 'lib/dto/status/get_status_response.rb', line 30 def attributes @attributes end |
#errors ⇒ Object
Returns the value of attribute errors
30 31 32 |
# File 'lib/dto/status/get_status_response.rb', line 30 def errors @errors end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
30 31 32 |
# File 'lib/dto/status/get_status_response.rb', line 30 def @timestamp end |