exact_target_sdk 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/lib/exact_target_sdk.rb +1 -0
- data/lib/exact_target_sdk/content_area.rb +17 -0
- data/lib/exact_target_sdk/version.rb +1 -1
- metadata +4 -3
data/CHANGELOG.rdoc
CHANGED
data/lib/exact_target_sdk.rb
CHANGED
@@ -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
|
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: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 6
|
9
9
|
- 0
|
10
|
-
version: 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
|