Class: SignWell::Response
- Inherits:
-
Object
- Object
- SignWell::Response
- Defined in:
- lib/sign_well/response.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ Response
constructor
A new instance of Response.
- #to_object ⇒ Object
Constructor Details
#initialize(body) ⇒ Response
Returns a new instance of Response.
7 8 9 |
# File 'lib/sign_well/response.rb', line 7 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/sign_well/response.rb', line 5 def body @body end |
Instance Method Details
#to_object ⇒ Object
11 12 13 |
# File 'lib/sign_well/response.rb', line 11 def to_object to_ostruct(body) end |