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 CHANGED
@@ -1,5 +1,8 @@
1
1
  = ExactTarget SDK
2
2
 
3
+ == Version 0.5.0
4
+ * Adding EmailTypePreference to Subscriber
5
+
3
6
  == Version 0.4.0
4
7
  * Implementing Retrieve method
5
8
  * Implementing FilterPart objects
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ExactTargetSDK
2
- VERSION = '0.4.0'
2
+ VERSION = '0.5.0'
3
3
  end
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: 15
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 4
8
+ - 5
9
9
  - 0
10
- version: 0.4.0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dawson