Class: Braintree::ApplePay
- Inherits:
-
Object
- Object
- Braintree::ApplePay
- Includes:
- BaseModule
- Defined in:
- lib/braintree/apple_pay.rb
Class Method Summary collapse
-
._new(*args) ⇒ Object
:nodoc:.
- .register_domain(domain) ⇒ Object
- .registered_domains ⇒ Object
- .unregister_domain(domain) ⇒ Object
Instance Method Summary collapse
-
#initialize(gateway, attributes) ⇒ ApplePay
constructor
:nodoc:.
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(gateway, attributes) ⇒ ApplePay
:nodoc:
5 6 7 |
# File 'lib/braintree/apple_pay.rb', line 5 def initialize(gateway, attributes) # :nodoc: set_instance_variables_from_hash(attributes) end |
Class Method Details
._new(*args) ⇒ Object
:nodoc:
13 14 15 |
# File 'lib/braintree/apple_pay.rb', line 13 def self._new(*args) # :nodoc: self.new(*args) end |
.register_domain(domain) ⇒ Object
17 18 19 |
# File 'lib/braintree/apple_pay.rb', line 17 def self.register_domain(domain) Configuration.gateway.apple_pay.register_domain(domain) end |
.registered_domains ⇒ Object
25 26 27 |
# File 'lib/braintree/apple_pay.rb', line 25 def self.registered_domains Configuration.gateway.apple_pay.registered_domains end |
.unregister_domain(domain) ⇒ Object
21 22 23 |
# File 'lib/braintree/apple_pay.rb', line 21 def self.unregister_domain(domain) Configuration.gateway.apple_pay.unregister_domain(domain) end |