action_kit_api 0.3.7 → 0.3.8
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.
@@ -29,8 +29,8 @@ module ActionKitApi
|
|
29
29
|
def create_event(*args)
|
30
30
|
raise "EventCampaign needs to be saved before Event creation" if self.id.nil?
|
31
31
|
|
32
|
-
args[:campaign] = self.id
|
33
|
-
args[:title] ||= self.default_title
|
32
|
+
args[0][:campaign] = self.id
|
33
|
+
args[0][:title] ||= self.default_title
|
34
34
|
|
35
35
|
ActionKitApi::Event.new(args)
|
36
36
|
end
|