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
@@ -1,3 +1,3 @@
1
1
  module ActionKitApi
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 7
9
- version: 0.3.7
8
+ - 8
9
+ version: 0.3.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Stelfox