Class: Facile::Response::Wrapper::Raw
- Inherits:
-
Object
- Object
- Facile::Response::Wrapper::Raw
- Defined in:
- lib/facile/response/wrapper/raw.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ Raw
constructor
A new instance of Raw.
- #parsed_body ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(body) ⇒ Raw
Returns a new instance of Raw.
2 3 4 |
# File 'lib/facile/response/wrapper/raw.rb', line 2 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
14 15 16 |
# File 'lib/facile/response/wrapper/raw.rb', line 14 def body @body end |
Instance Method Details
#parsed_body ⇒ Object
6 7 8 |
# File 'lib/facile/response/wrapper/raw.rb', line 6 def parsed_body @body end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/facile/response/wrapper/raw.rb', line 10 def to_s @body end |