Class: Adyen::Disputes
- Inherits:
-
Object
- Object
- Adyen::Disputes
- Defined in:
- lib/adyen/services/disputes.rb
Overview
NOTE: This class is auto generated by OpenAPI Generator Ref: openapi-generator.tech
Do not edit the class manually.
Constant Summary collapse
- DEFAULT_VERSION =
30
Instance Attribute Summary collapse
-
#service ⇒ Object
Returns the value of attribute service.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #disputes_api ⇒ Object
-
#initialize(client, version = DEFAULT_VERSION) ⇒ Disputes
constructor
A new instance of Disputes.
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ Disputes
Returns a new instance of Disputes.
13 14 15 16 17 |
# File 'lib/adyen/services/disputes.rb', line 13 def initialize(client, version = DEFAULT_VERSION) @service = 'Disputes' @client = client @version = version end |
Instance Attribute Details
#service ⇒ Object
Returns the value of attribute service.
10 11 12 |
# File 'lib/adyen/services/disputes.rb', line 10 def service @service end |
#version ⇒ Object
Returns the value of attribute version.
10 11 12 |
# File 'lib/adyen/services/disputes.rb', line 10 def version @version end |
Instance Method Details
#disputes_api ⇒ Object
19 20 21 |
# File 'lib/adyen/services/disputes.rb', line 19 def disputes_api @disputes_api ||= Adyen::DisputesApi.new(@client, @version) end |