Sha256: 5c9f95bc8f3fa0598d545f8592f2c894513078328ce3169362ac59811adcf22d
Contents?: true
Size: 298 Bytes
Versions: 9
Compression:
Stored size: 298 Bytes
Contents
class BaseResponse attr_accessor :RequestKey attr_accessor :MerchantKey attr_accessor :ErrorReport attr_accessor :InternalTime def to_json hash = {} instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end end
Version data entries
9 entries across 9 versions & 2 rubygems