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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1b62e5025d4dc710316a137e5228dd3a7c8dfcd
4
- data.tar.gz: 1d88be8423657d2d6f5d164dfc16d6a30029be0b
3
+ metadata.gz: fa84ba5f3df0a1fd9a95147ed0bfcc378160bed0
4
+ data.tar.gz: b22021bcd6e34c42d3b678932a49c165edc4e349
5
5
  SHA512:
6
- metadata.gz: 86c73dcd748cbb21591b4126cd1c81382d5f5b454925f1f260076e361cbf3445991a42bdde86d6cb4f5ab0e64583db5a566592c34f243ed403fbbc24e0e3c92c
7
- data.tar.gz: 0f24c59a183c1d1b6d24d2727bd4fb5a29e015cb3196114d3d0968856ffb11f380b03d1a73e0b84e5ddc5147818eb2172ce6beabefc8200fa5063272d04529f8
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 = {to: {
27
- address: email_address,
28
- subscriber_key: subscriber_key,
29
- contact_attributes: {
30
- subscriber_attributes: prepare_attributes(data_extension_attributes)
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
@@ -1,3 +1,3 @@
1
1
  module ExactTargetRest
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  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.0
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-02 00:00:00.000000000 Z
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.5
146
+ rubygems_version: 2.4.6
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Simple wrapper around ExactTarget REST API