class BaseResponse

Attributes

ErrorReport[RW]
InternalTime[RW]
MerchantKey[RW]
RequestKey[RW]

Public Instance Methods

to_json() click to toggle source
# File lib/mundipagg/BaseResponse.rb, line 11
def to_json
  hash = {}
  instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
  hash
end