Class: Adyen::Capital
- Inherits:
-
Object
- Object
- Adyen::Capital
- Defined in:
- lib/adyen/services/capital.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 =
1
Instance Attribute Summary collapse
-
#service ⇒ Object
Returns the value of attribute service.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #dynamic_offers_api ⇒ Object
- #grant_accounts_api ⇒ Object
- #grant_offers_api ⇒ Object
- #grants_api ⇒ Object
-
#initialize(client, version = DEFAULT_VERSION) ⇒ Capital
constructor
A new instance of Capital.
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ Capital
Returns a new instance of Capital.
16 17 18 19 20 |
# File 'lib/adyen/services/capital.rb', line 16 def initialize(client, version = DEFAULT_VERSION) @service = 'Capital' @client = client @version = version end |
Instance Attribute Details
#service ⇒ Object
Returns the value of attribute service.
13 14 15 |
# File 'lib/adyen/services/capital.rb', line 13 def service @service end |
#version ⇒ Object
Returns the value of attribute version.
13 14 15 |
# File 'lib/adyen/services/capital.rb', line 13 def version @version end |
Instance Method Details
#dynamic_offers_api ⇒ Object
22 23 24 |
# File 'lib/adyen/services/capital.rb', line 22 def dynamic_offers_api @dynamic_offers_api ||= Adyen::DynamicOffersApi.new(@client, @version) end |
#grant_accounts_api ⇒ Object
26 27 28 |
# File 'lib/adyen/services/capital.rb', line 26 def grant_accounts_api @grant_accounts_api ||= Adyen::GrantAccountsApi.new(@client, @version) end |
#grant_offers_api ⇒ Object
30 31 32 |
# File 'lib/adyen/services/capital.rb', line 30 def grant_offers_api @grant_offers_api ||= Adyen::GrantOffersApi.new(@client, @version) end |