Class: Adyen::Marketpay::Account
- Defined in:
- lib/adyen/services/marketpay.rb
Constant Summary collapse
- DEFAULT_VERSION =
4
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
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ Account
Returns a new instance of Account.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/adyen/services/marketpay.rb', line 34 def initialize(client, version = DEFAULT_VERSION) service = 'Account' method_names = [ :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, :close_account, :close_account_holder, :get_tier_configuration, :suspend_account_holder, :un_suspend_account_holder ] super(client, version, service, method_names) end |
Instance Attribute Details
#version ⇒ Object
Returns the value of attribute version.
31 32 33 |
# File 'lib/adyen/services/marketpay.rb', line 31 def version @version end |