Method: Koala::HTTPService::Response#initialize
- Defined in:
- lib/koala/http_service/response.rb
#initialize(status, body, headers) ⇒ Response
Creates a new Response object, which standardizes the response received by Facebook for use within Koala.
7 8 9 10 11 |
# File 'lib/koala/http_service/response.rb', line 7 def initialize(status, body, headers) @status = status @body = body @headers = headers end |