Sha256: 79312772ae9453efb66117f5cf53efb6a9867974e6ec055a1008ee75775d62f8

Contents?: true

Size: 618 Bytes

Versions: 34

Compression:

Stored size: 618 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

34 entries across 34 versions & 1 rubygems

Version Path
braintree-3.3.0 lib/braintree/apple_pay.rb
braintree-3.2.0 lib/braintree/apple_pay.rb
braintree-3.1.0 lib/braintree/apple_pay.rb
braintree-3.0.1 lib/braintree/apple_pay.rb
braintree-2.104.1 lib/braintree/apple_pay.rb
braintree-2.104.0 lib/braintree/apple_pay.rb
braintree-2.103.0 lib/braintree/apple_pay.rb
braintree-2.102.0 lib/braintree/apple_pay.rb
braintree-2.101.0 lib/braintree/apple_pay.rb
braintree-2.100.0 lib/braintree/apple_pay.rb
braintree-2.99.0 lib/braintree/apple_pay.rb
braintree-2.98.0 lib/braintree/apple_pay.rb
braintree-2.97.0 lib/braintree/apple_pay.rb
braintree-2.96.0 lib/braintree/apple_pay.rb
braintree-2.95.0 lib/braintree/apple_pay.rb
braintree-2.94.0 lib/braintree/apple_pay.rb
braintree-2.93.0 lib/braintree/apple_pay.rb
braintree-2.92.0 lib/braintree/apple_pay.rb
braintree-2.91.0 lib/braintree/apple_pay.rb
braintree-2.90.0 lib/braintree/apple_pay.rb