Sha256: fd924f531f119c46f6ff5caa8e54e0ce72a1320aa269697767c2128fac8d364f

Contents?: true

Size: 299 Bytes

Versions: 18

Compression:

Stored size: 299 Bytes

Contents

module Spreedly

  class AuthPurchase < GatewayTransaction

    field :currency_code
    field :amount, type: :integer

    attr_reader :payment_method

    def initialize(xml_doc)
      super
      @payment_method = PaymentMethod.new_from(xml_doc.at_xpath('.//payment_method'))
    end

  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spreedly-2.0.18 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.17 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.16 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.15 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.14 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.13 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.11 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.10 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.9 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.8 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.7 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.6 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.5 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.4 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.3 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.2 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.1 lib/spreedly/transactions/auth_purchase.rb
spreedly-2.0.0 lib/spreedly/transactions/auth_purchase.rb