class RestfulResource::Response

Attributes

body[R]
headers[R]
status[R]

Public Class Methods

new(body: '{}', headers: {}, status: nil) click to toggle source
# File lib/restful_resource/response.rb, line 5
def initialize(body: '{}', headers: {}, status: nil)
  @body = body
  @headers = headers
  @status = status
end