Class: Adyen::Dispute
Constant Summary collapse
- DEFAULT_VERSION =
30
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) ⇒ Dispute
constructor
A new instance of Dispute.
Methods inherited from Service
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ Dispute
Returns a new instance of Dispute.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/adyen/services/dispute.rb', line 8 def initialize(client, version = DEFAULT_VERSION) service = 'DisputeService' method_names = [ :retrieve_applicable_defense_reasons, :supply_defense_document, :delete_dispute_defense_document, :defend_dispute, ] super(client, version, service, method_names) end |
Instance Attribute Details
#version ⇒ Object
Returns the value of attribute version.
5 6 7 |
# File 'lib/adyen/services/dispute.rb', line 5 def version @version end |