Sha256: 0da3d707f9d648ec3cbb196e3c4db4ddd0c8ccbcd14d82e1a82007451c291e46
Contents?: true
Size: 690 Bytes
Versions: 11
Compression:
Stored size: 690 Bytes
Contents
module VaultedBilling class Transaction attr_accessor :id attr_accessor :authcode attr_accessor :avs_response attr_accessor :cvv_response attr_accessor :code attr_accessor :message def initialize(attributes = {}) attributes.each_pair do |key, value| send("#{key}=", value) if respond_to?("#{key}=") end end def to_vaulted_billing; self; end def ==(o) attributes == o.attributes end def attributes { :id => id, :authcode => authcode, :avs_response => avs_response, :cvv_response => cvv_response, :code => code, :message => message } end end end
Version data entries
11 entries across 11 versions & 1 rubygems