Sha256: d3c04e17b50136c7849713f80b0afd931824ecf337e426757e155927f6fddcd5
Contents?: true
Size: 325 Bytes
Versions: 10
Compression:
Stored size: 325 Bytes
Contents
module Ebanx class Response attr_accessor :http_code, :raw_response, :response def initialize(response, response_type) @http_code = response.code @raw_response = response.to_str @response = response.to_str @response = JSON.parse @response if response_type == :json end end end
Version data entries
10 entries across 10 versions & 1 rubygems