Sha256: f2a957195e105853b200d8672ab2b13aabe71ae74c41a2f301b3975692925dcc
Contents?: true
Size: 367 Bytes
Versions: 5
Compression:
Stored size: 367 Bytes
Contents
module Gateway # classe para usar nos metodos de cancel e capture class ManageCreditCardTransaction attr_accessor :AmountInCents attr_accessor :TransactionKey attr_accessor :TransactionReference def to_json hash = {} instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end end end
Version data entries
5 entries across 5 versions & 2 rubygems