exact_target_rest 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/exact_target_rest/triggered_send.rb +5 -5
- data/lib/exact_target_rest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa84ba5f3df0a1fd9a95147ed0bfcc378160bed0
|
4
|
+
data.tar.gz: b22021bcd6e34c42d3b678932a49c165edc4e349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a197fe64b7a0665b28e4d361f21282825fe9a77fb29a9d3c2507320b39abdd4e18cd46e9fc11b4d291bc1bdb0a432ac46f6789b580ff087ce840f45c7819d15c
|
7
|
+
data.tar.gz: 3a486c16b1e098904fa4c02537070eafaeb2d6c509a57434401e5bbcf69153c087282a7a21a6db12a339fe4cb94739f1966db29fced5f125f2ffad77d0c43dc2
|
@@ -23,11 +23,11 @@ module ExactTargetRest
|
|
23
23
|
resp = endpoint.post do |p|
|
24
24
|
p.url(format(TRIGGERED_SEND_PATH, URI.encode(@external_key)))
|
25
25
|
p.headers['Authorization'] = "Bearer #{access_token}"
|
26
|
-
p.body = {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
p.body = {To: {
|
27
|
+
Address: email_address,
|
28
|
+
SubscriberKey: subscriber_key,
|
29
|
+
ContactAttributes: {
|
30
|
+
SubscriberAttributes: prepare_attributes(data_extension_attributes)
|
31
31
|
}
|
32
32
|
}}
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exact_target_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronie Uliana
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.4.
|
146
|
+
rubygems_version: 2.4.6
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Simple wrapper around ExactTarget REST API
|