Sha256: 76ae7ed222bea9913f895a309e5ac11405e5bce3523d7d7e17f8178ebd518592

Contents?: true

Size: 490 Bytes

Versions: 9

Compression:

Stored size: 490 Bytes

Contents

module Braintree
  class LocalPaymentCompleted
    include BaseModule

    attr_reader :payment_id
    attr_reader :payer_id
    attr_reader :payment_method_nonce
    attr_reader :transaction

    def initialize(attributes) # :nodoc:
      set_instance_variables_from_hash(attributes)
      @transaction = Transaction._new(Configuration.gateway, transaction)
    end

    class << self
      protected :new
    end

    def self._new(*args) # :nodoc:
      self.new *args
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
braintree-2.104.0 lib/braintree/local_payment_completed.rb
braintree-2.103.0 lib/braintree/local_payment_completed.rb
braintree-2.102.0 lib/braintree/local_payment_completed.rb
braintree-2.101.0 lib/braintree/local_payment_completed.rb
braintree-2.100.0 lib/braintree/local_payment_completed.rb
braintree-2.99.0 lib/braintree/local_payment_completed.rb
braintree-2.98.0 lib/braintree/local_payment_completed.rb
braintree-2.97.0 lib/braintree/local_payment_completed.rb
braintree-2.96.0 lib/braintree/local_payment_completed.rb