Class: WeThePeople::Config::MotionHTTPWrapper::Response
- Inherits:
-
Object
- Object
- WeThePeople::Config::MotionHTTPWrapper::Response
- Defined in:
- lib/we_the_people/config.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(response_body) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(response_body) ⇒ Response
Returns a new instance of Response.
6 7 8 |
# File 'lib/we_the_people/config.rb', line 6 def initialize(response_body) @body = response_body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/we_the_people/config.rb', line 5 def body @body end |