class Braintree::ApplePay

Public Class Methods

_new(*args) click to toggle source
# File lib/braintree/apple_pay.rb, line 13
def self._new(*args)
  self.new(*args)
end
register_domain(domain) click to toggle source
# File lib/braintree/apple_pay.rb, line 17
def self.register_domain(domain)
  Configuration.gateway.apple_pay.register_domain(domain)
end
registered_domains() click to toggle source
# File lib/braintree/apple_pay.rb, line 25
def self.registered_domains
  Configuration.gateway.apple_pay.registered_domains
end
unregister_domain(domain) click to toggle source
# File lib/braintree/apple_pay.rb, line 21
def self.unregister_domain(domain)
  Configuration.gateway.apple_pay.unregister_domain(domain)
end

Protected Class Methods

new(gateway, attributes) click to toggle source
# File lib/braintree/apple_pay.rb, line 5
def initialize(gateway, attributes)
  set_instance_variables_from_hash(attributes)
end