Sha256: a788e7387fcd556c48c7805a1cd39d11d690d35c51a311f39e6b5cbe358688fa

Contents?: true

Size: 396 Bytes

Versions: 14

Compression:

Stored size: 396 Bytes

Contents

module Ipizza
  class Payment
    
    attr_accessor :stamp, :amount, :currency, :refnum, :receiver_account, :receiver_name, :sender_account, :sender_name, :message, :transaction_id
    
    def initialize(attribs = {})
      attribs.each do |key, value|
        if self.respond_to?("#{key.to_s}=".to_sym)
          self.send("#{key.to_s}=".to_sym, value)
        end
      end
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ipizza-1.0.0 lib/ipizza/payment.rb
ipizza-0.7.1 lib/ipizza/payment.rb
ipizza-0.6.1 lib/ipizza/payment.rb
ipizza-0.5.5 lib/ipizza/payment.rb
ipizza-0.5.4 lib/ipizza/payment.rb
ipizza-0.5.3 lib/ipizza/payment.rb
ipizza-0.5.2 lib/ipizza/payment.rb
ipizza-0.5.1 lib/ipizza/payment.rb
ipizza-0.5.0 lib/ipizza/payment.rb
ipizza-0.4.4 lib/ipizza/payment.rb
ipizza-0.4.3 lib/ipizza/payment.rb
ipizza-0.4.2 lib/ipizza/payment.rb
ipizza-0.4.1 lib/ipizza/payment.rb
ipizza-0.4.0 lib/ipizza/payment.rb