Class: Adobe::Campaign::Configuration
- Inherits:
-
Object
- Object
- Adobe::Campaign::Configuration
- Defined in:
- lib/adobe/campaign/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Required.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#ims_host ⇒ Object
Returns the value of attribute ims_host.
-
#org_id ⇒ Object
Required.
-
#org_name ⇒ Object
Returns the value of attribute org_name.
-
#signed_jwt ⇒ Object
Returns the value of attribute signed_jwt.
-
#tech_acct ⇒ Object
Required.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
30 31 32 33 34 35 36 37 38 |
# File 'lib/adobe/campaign/configuration.rb', line 30 def initialize @org_id = '' @org_name = '' @tech_acct = '' @api_key = '' @api_secret = '' @signed_jwt = '' @ims_host = 'ims-na1.adobelogin.com' end |
Instance Attribute Details
#api_key ⇒ Object
Required. Api key retrieved from www.adobe.io/console/integrations
23 24 25 |
# File 'lib/adobe/campaign/configuration.rb', line 23 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
24 25 26 |
# File 'lib/adobe/campaign/configuration.rb', line 24 def api_secret @api_secret end |
#ims_host ⇒ Object
Returns the value of attribute ims_host.
28 29 30 |
# File 'lib/adobe/campaign/configuration.rb', line 28 def ims_host @ims_host end |
#org_id ⇒ Object
Required. The issuer, your organization ID in the format org_ident@AdobeOrg.
16 17 18 |
# File 'lib/adobe/campaign/configuration.rb', line 16 def org_id @org_id end |
#org_name ⇒ Object
Returns the value of attribute org_name.
17 18 19 |
# File 'lib/adobe/campaign/configuration.rb', line 17 def org_name @org_name end |
#signed_jwt ⇒ Object
Returns the value of attribute signed_jwt.
26 27 28 |
# File 'lib/adobe/campaign/configuration.rb', line 26 def signed_jwt @signed_jwt end |
#tech_acct ⇒ Object
Required. The subject, your API client account ID in the format: [email protected].
20 21 22 |
# File 'lib/adobe/campaign/configuration.rb', line 20 def tech_acct @tech_acct end |