Sha256: 31cb3eb756f85acbcae33c42e58a4dd7dde97425b2835e6f3b23befe49354a8a

Contents?: true

Size: 619 Bytes

Versions: 17

Compression:

Stored size: 619 Bytes

Contents

module Braintree
  class ApplePay
    include BaseModule # :nodoc:

    def initialize(gateway, attributes) # :nodoc:
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
    end

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

    def self.register_domain(domain)
      Configuration.gateway.apple_pay.register_domain(domain)
    end

    def self.unregister_domain(domain)
      Configuration.gateway.apple_pay.unregister_domain(domain)
    end

    def self.registered_domains
      Configuration.gateway.apple_pay.registered_domains
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/apple_pay.rb
braintree-4.14.0 lib/braintree/apple_pay.rb
braintree-4.13.0 lib/braintree/apple_pay.rb
braintree-4.12.0 lib/braintree/apple_pay.rb
braintree-4.11.0 lib/braintree/apple_pay.rb
braintree-4.10.0 lib/braintree/apple_pay.rb
braintree-4.9.0 lib/braintree/apple_pay.rb
braintree-4.8.0 lib/braintree/apple_pay.rb
braintree-4.7.0 lib/braintree/apple_pay.rb
braintree-4.6.0 lib/braintree/apple_pay.rb
braintree-4.5.0 lib/braintree/apple_pay.rb
braintree-4.4.0 lib/braintree/apple_pay.rb
braintree-4.3.0 lib/braintree/apple_pay.rb
braintree-4.2.0 lib/braintree/apple_pay.rb
braintree-4.1.0 lib/braintree/apple_pay.rb
braintree-4.0.0 lib/braintree/apple_pay.rb
braintree-3.4.0 lib/braintree/apple_pay.rb