Class: Adyen::Payouts

Inherits:
Service show all
Defined in:
lib/adyen/services/payouts.rb

Constant Summary collapse

DEFAULT_VERSION =
30

Instance Attribute Summary collapse

Attributes inherited from Service

#service

Instance Method Summary collapse

Methods inherited from Service

action_for_method_name

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ Payouts

Returns a new instance of Payouts.



8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/adyen/services/payouts.rb', line 8

def initialize(client, version = DEFAULT_VERSION)
  service = 'Payout'
  method_names = [
    :store_detail,
    :store_detail_and_submit_third_party,
    :submit_third_party,
    :confirm_third_party,
    :decline_third_party
  ]

  super(client, version, service, method_names)
end

Instance Attribute Details

#versionObject

Returns the value of attribute version.



5
6
7
# File 'lib/adyen/services/payouts.rb', line 5

def version
  @version
end