exact_target_sdk 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +3 -0
- data/lib/exact_target_sdk/subscriber.rb +3 -0
- data/lib/exact_target_sdk/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
|
@@ -15,10 +15,13 @@ class Subscriber < APIObject
|
|
|
15
15
|
|
|
16
16
|
property 'SubscriberKey', true
|
|
17
17
|
property 'EmailAddress', true
|
|
18
|
+
property 'EmailTypePreference'
|
|
18
19
|
array_property 'Attributes'
|
|
19
20
|
|
|
20
21
|
before_validation :sync_subscriber_key_and_email_address
|
|
21
22
|
|
|
23
|
+
validates 'EmailTypePreference', :inclusion => { :allow_nil => true, :in => %w( HTML Text ) }
|
|
24
|
+
|
|
22
25
|
private
|
|
23
26
|
|
|
24
27
|
def sync_subscriber_key_and_email_address
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exact_target_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 11
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
8
|
+
- 5
|
|
9
9
|
- 0
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.5.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Dawson
|