Files
paapi/lib/aws_paa/response.rb

11 lines
208 B
Ruby

require 'json'
module AwsPaa
class Response
attr_reader :status, :data
def initialize(response)
@status = response.status.to_s
@data = JSON.parse( response.body.to_s )
end
end
end