mirror of
https://github.com/dkam/paapi.git
synced 2025-12-28 07:04:53 +00:00
11 lines
208 B
Ruby
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 |