Class: Adyen::Payments
- Defined in:
- lib/adyen/services/payments.rb
Constant Summary collapse
- DEFAULT_VERSION =
50
Instance Attribute Summary collapse
-
#version ⇒ Object
Returns the value of attribute version.
Attributes inherited from Service
Instance Method Summary collapse
-
#initialize(client, version = DEFAULT_VERSION) ⇒ Payments
constructor
A new instance of Payments.
Methods inherited from Service
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ Payments
Returns a new instance of Payments.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/adyen/services/payments.rb', line 8 def initialize(client, version = DEFAULT_VERSION) service = "Payment" method_names = [ :authorise, :authorise3d, :authorise3ds2, :capture, :cancel, :refund, :cancel_or_refund, :adjust_authorisation, :donate, ] with_application_info = [ :authorise, :authorise3d, :authorise3ds2, ] super(client, version, service, method_names, with_application_info) end |
Instance Attribute Details
#version ⇒ Object
Returns the value of attribute version.
5 6 7 |
# File 'lib/adyen/services/payments.rb', line 5 def version @version end |