Class: Adyen::Marketpay::Account
- Defined in:
- lib/adyen/services/marketpay.rb
Constant Summary collapse
- DEFAULT_VERSION =
6
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) ⇒ Account
constructor
A new instance of Account.
Methods inherited from Service
action_for_method_name, #create_query_string
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ Account
Returns a new instance of Account.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/adyen/services/marketpay.rb', line 37 def initialize(client, version = DEFAULT_VERSION) service = 'Account' method_names = %i[ create_account_holder update_account_holder create_account update_account upload_document get_uploaded_documents get_account_holder update_account_holder_state delete_bank_accounts delete_shareholders delete_signatories close_account close_account_holder suspend_account_holder un_suspend_account_holder delete_payout_methods check_account_holder ] super(client, version, service, method_names) end |
Instance Attribute Details
#version ⇒ Object
Returns the value of attribute version.
33 34 35 |
# File 'lib/adyen/services/marketpay.rb', line 33 def version @version end |