Sha256: de2e62a0bb12376c103b7532d738ea113739ae0719a39f2c394fa067baca423d
Contents?: true
Size: 609 Bytes
Versions: 5
Compression:
Stored size: 609 Bytes
Contents
module Gateway class CreateInstantBuyDataRequest attr_accessor :IsOneDollarAuthEnabled attr_accessor :CreditCardNumber attr_accessor :HolderName attr_accessor :SecurityCode attr_accessor :ExpMonth attr_accessor :ExpYear attr_accessor :CreditCardBrand attr_accessor :BillingAddress attr_accessor :BuyerKey def initialize @BillingAddress = BillingAddress.new end 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