adobe-campaign 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/adobe/campaign/base.rb +4 -2
- data/lib/adobe/campaign/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e31be016bb93def610f762263bc419107cc2ca52778a49f44a9d55f554f4e8b
|
4
|
+
data.tar.gz: c384bb1e50a123b0eb84b32fc2ef7dfd55fadd813957c0c9dfbde021dc881623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca8dcc115827458166052276df47e0c88eb47855d049372764be0e00d7408c96b2ce43e6a3bcab7c934c0b93064321dd412a5f78bfa1ad554c416a00c38fb8f
|
7
|
+
data.tar.gz: 857ac8242baed7038feee2541071c8b320bade03dec5c78a959d0310d6bf6a66540e5e59f3f2c305dd37a4a63968f7746f2e8b2d68937d5025979cab29c37f7f
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.7
|
data/lib/adobe/campaign/base.rb
CHANGED
@@ -51,11 +51,13 @@ module Adobe
|
|
51
51
|
def load_access_token
|
52
52
|
return @access_token if @access_token && @access_token_expires > Time.zone.now
|
53
53
|
|
54
|
-
as_url = "https://#{Adobe::Campaign.configuration.ims_host}/ims/
|
54
|
+
as_url = "https://#{Adobe::Campaign.configuration.ims_host}/ims/token/v3"
|
55
55
|
as_payload = {
|
56
56
|
client_id: Adobe::Campaign.configuration.api_key,
|
57
57
|
client_secret: Adobe::Campaign.configuration.api_secret,
|
58
|
-
|
58
|
+
grant_type: "client_credentials",
|
59
|
+
scope: "campaign_sdk, openid, deliverability_service_general, campaign_config_server_general, " +
|
60
|
+
"AdobeID, additional_info.projectedProductContext"
|
59
61
|
}
|
60
62
|
access_token_resp = RestClient.post(as_url, as_payload, {})
|
61
63
|
json = JSON.parse(access_token_resp.body)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adobe-campaign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spencer Oberstadt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|