Class: Facile::Response::Wrapper::Raw

Inherits:
Object
  • Object
show all
Defined in:
lib/facile/response/wrapper/raw.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

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_bodyObject



6
7
8
# File 'lib/facile/response/wrapper/raw.rb', line 6

def parsed_body
  @body
end

#to_sObject



10
11
12
# File 'lib/facile/response/wrapper/raw.rb', line 10

def to_s
  @body
end