Class: GoTransit::Response
- Inherits:
-
Object
- Object
- GoTransit::Response
- Defined in:
- lib/go_transit/response.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Instance Method Summary collapse
-
#initialize(payload) ⇒ Response
constructor
A new instance of Response.
Constructor Details
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/go_transit/response.rb', line 3 def data @data end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
3 4 5 |
# File 'lib/go_transit/response.rb', line 3 def @metadata end |