Sha256: 48d84c02a8fb72da1c83fc882b8dd323a955d0d0accd1d8388f1f80121722e95

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

module Gateway

  class RetrySaleCreditCardTransaction

    attr_accessor :TransactionKey

    attr_accessor :SecurityCode

    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

Version Path
mundipagg_sdk-1.4.1 lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb
stone_ecommerce-1.4.0 lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb
mundipagg_sdk-1.4.0 lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb
stone_ecommerce-1.3.0 lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb
stone_ecommerce-1.2.3 lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb