Sha256: 4d25845c469df8cd5f3ba62f529587747e759803775fbbc760c4813eee431969

Contents?: true

Size: 412 Bytes

Versions: 10

Compression:

Stored size: 412 Bytes

Contents

require 'atpay/token/core'
require 'atpay/token/encoder'

module AtPay
  module Token
    class Invoice < Core
      def initialize(session, amount, email_address, custom_data={})
        super

        self.session               = session
        self.amount                = amount
        self.email_address         = email_address
        self.user_data.custom_data = custom_data
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
atpay_ruby-0.0.17 lib/atpay/token/invoice.rb
atpay_ruby-0.0.16 lib/atpay/token/invoice.rb
atpay_ruby-0.0.15 lib/atpay/token/invoice.rb
atpay_ruby-0.0.13 lib/atpay/token/invoice.rb
atpay_ruby-0.0.12 lib/atpay/token/invoice.rb
atpay_ruby-0.0.11 lib/atpay/token/invoice.rb
atpay_ruby-0.0.10 lib/atpay/token/invoice.rb
atpay_ruby-0.0.9 lib/atpay/token/invoice.rb
atpay_ruby-0.0.8 lib/atpay/token/invoice.rb
atpay_ruby-0.0.5 lib/atpay/token/invoice.rb