Sha256: 5e016404955670d4a52cb9cbe6ce8b7f217989e4eb50f7513465852561aff370

Contents?: true

Size: 589 Bytes

Versions: 8

Compression:

Stored size: 589 Bytes

Contents

module Braintree
  class ApplePay
    include BaseModule

    def initialize(gateway, attributes)
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
    end

    def self._new(*args)
      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

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/apple_pay.rb
braintree-4.22.0 lib/braintree/apple_pay.rb
braintree-4.21.0 lib/braintree/apple_pay.rb
braintree-4.20.0 lib/braintree/apple_pay.rb
braintree-4.19.0 lib/braintree/apple_pay.rb
braintree-4.18.0 lib/braintree/apple_pay.rb
braintree-4.17.0 lib/braintree/apple_pay.rb
braintree-4.16.0 lib/braintree/apple_pay.rb