fuelsdk 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
data/lib/fuelsdk/objects.rb
CHANGED
@@ -300,7 +300,7 @@ module FuelSDK
|
|
300
300
|
|
301
301
|
def munge_fields d
|
302
302
|
# maybe one day will make it smart enough to zip properties and fields if count is same?
|
303
|
-
if d.
|
303
|
+
if d.count > 1 and (fields and !fields.empty?)
|
304
304
|
# we could map the field to all DataExtensions, but lets make user be explicit.
|
305
305
|
# if they are going to use fields attribute properties should
|
306
306
|
# be a single DataExtension Defined in a Hash
|
data/lib/fuelsdk/version.rb
CHANGED
@@ -24,6 +24,8 @@ begin
|
|
24
24
|
raise 'Failure creating data extensions' unless createDEResponse.success?
|
25
25
|
raise 'Failure creating data extensions' unless createDEResponse.results.count == 2
|
26
26
|
|
27
|
+
raise
|
28
|
+
|
27
29
|
# Cleaning up the newly created DEs
|
28
30
|
# Delete deOne
|
29
31
|
p '>>> Delete deOne'
|
data/samples/sample_helper.rb
CHANGED