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