Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 237 Bytes
class RequestResponse
attr_accessor :data, :str, :errors
def initialize(rkresponse, errors)
@data = rkresponse.body unless rkresponse.nil?
@str = rkresponse.bodyAsString unless rkresponse.nil?
@errors = errors
end
end
Jump to Line
Something went wrong with that request. Please try again.