class Smartpay::Responses::Base
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
# File lib/smartpay/responses/base.rb, line 8 def initialize(response) @response = response end
Public Instance Methods
as_hash()
click to toggle source
# File lib/smartpay/responses/base.rb, line 12 def as_hash @response end
as_json()
click to toggle source
# File lib/smartpay/responses/base.rb, line 16 def as_json @response.to_json end