Class: Braintree::PaymentMethod
- Inherits:
-
Object
- Object
- Braintree::PaymentMethod
show all
- Includes:
- BaseModule
- Defined in:
- lib/braintree/payment_method.rb
Class Method Summary
collapse
Methods included from BaseModule
included
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Class Method Details
.create(*args) ⇒ Object
5
6
7
|
# File 'lib/braintree/payment_method.rb', line 5
def self.create(*args)
Configuration.gateway.payment_method.create(*args)
end
|
.create!(*args) ⇒ Object
9
10
11
|
# File 'lib/braintree/payment_method.rb', line 9
def self.create!(*args)
Configuration.gateway.payment_method.create!(*args)
end
|
.delete(*args) ⇒ Object
25
26
27
|
# File 'lib/braintree/payment_method.rb', line 25
def self.delete(*args)
Configuration.gateway.payment_method.delete(*args)
end
|
.find(*args) ⇒ Object
13
14
15
|
# File 'lib/braintree/payment_method.rb', line 13
def self.find(*args)
Configuration.gateway.payment_method.find(*args)
end
|
.grant(*args) ⇒ Object
29
30
31
|
# File 'lib/braintree/payment_method.rb', line 29
def self.grant(*args)
Configuration.gateway.payment_method.grant(*args)
end
|
.revoke(*args) ⇒ Object
33
34
35
|
# File 'lib/braintree/payment_method.rb', line 33
def self.revoke(*args)
Configuration.gateway.payment_method.revoke(*args)
end
|
.update(*args) ⇒ Object
17
18
19
|
# File 'lib/braintree/payment_method.rb', line 17
def self.update(*args)
Configuration.gateway.payment_method.update(*args)
end
|
.update!(*args) ⇒ Object
21
22
23
|
# File 'lib/braintree/payment_method.rb', line 21
def self.update!(*args)
Configuration.gateway.payment_method.update!(*args)
end
|