exact_target_sdk 0.5.0 → 0.6.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.
@@ -1,5 +1,8 @@
1
1
  = ExactTarget SDK
2
2
 
3
+ == Version 0.6.0
4
+ * Adding ContentArea object (from csalzman pull request)
5
+
3
6
  == Version 0.5.0
4
7
  * Adding EmailTypePreference to Subscriber
5
8
 
@@ -7,6 +7,7 @@ module ExactTargetSDK
7
7
  autoload :Attribute, 'exact_target_sdk/attribute'
8
8
  autoload :Client, 'exact_target_sdk/client'
9
9
  autoload :ComplexFilterPart, 'exact_target_sdk/complex_filter_part'
10
+ autoload :ContentArea, 'exact_target_sdk/content_area'
10
11
  autoload :CreateResponse, 'exact_target_sdk/create_response'
11
12
  autoload :CreateResult, 'exact_target_sdk/create_result'
12
13
  autoload :FilterPart, 'exact_target_sdk/filter_part'
@@ -0,0 +1,17 @@
1
+ module ExactTargetSDK
2
+
3
+ # Documentation here:
4
+ # http://docs.code.exacttarget.com/020_Web_Service_Guide/Objects/ContentArea
5
+ class ContentArea < APIObject
6
+
7
+ int_property 'CategoryID'
8
+ property 'Content'
9
+ property 'Layout'
10
+ property 'Name'
11
+
12
+ validates 'Layout',
13
+ :inclusion => { :allow_nil => true, :in => %w( HTMLWrapped RawText SMS ) }
14
+
15
+ end
16
+
17
+ end
@@ -1,3 +1,3 @@
1
1
  module ExactTargetSDK
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.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: 11
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 5
8
+ - 6
9
9
  - 0
10
- version: 0.5.0
10
+ version: 0.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dawson
@@ -93,6 +93,7 @@ files:
93
93
  - lib/exact_target_sdk/client.rb
94
94
  - lib/exact_target_sdk/complex_filter_part.rb
95
95
  - lib/exact_target_sdk/config.rb
96
+ - lib/exact_target_sdk/content_area.rb
96
97
  - lib/exact_target_sdk/create_response.rb
97
98
  - lib/exact_target_sdk/create_result.rb
98
99
  - lib/exact_target_sdk/errors.rb