class Flowthings::PlatformResponse

Attributes

body[R]
errors[R]
excon_object[R]
full_message[R]
head[R]
response_headers[R]
status[R]

Public Class Methods

new(response) click to toggle source
# File lib/flowthings/response/platform_response.rb, line 5
def initialize(response)
  @excon_object = response
  @status = response.status
  @response_headers = response.headers
  @full_message = response.body
  @head = @full_message["head"]
  @body = @full_message["body"]
  @errors = @head["errors"]
end