Class: Facile::Response::Wrapper::Json
- Inherits:
-
Object
- Object
- Facile::Response::Wrapper::Json
- Defined in:
- lib/facile/response/wrapper/json.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#parsed_body ⇒ Object
readonly
Returns the value of attribute parsed_body.
Instance Method Summary collapse
-
#initialize(body) ⇒ Json
constructor
A new instance of Json.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
13 14 15 |
# File 'lib/facile/response/wrapper/json.rb', line 13 def body @body end |
#parsed_body ⇒ Object (readonly)
Returns the value of attribute parsed_body.
13 14 15 |
# File 'lib/facile/response/wrapper/json.rb', line 13 def parsed_body @parsed_body end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/facile/response/wrapper/json.rb', line 9 def to_s @body end |