klaviyo 0.9.2 → 0.9.3
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.
- data/klaviyo.gemspec +1 -1
- data/lib/klaviyo/client.rb +1 -1
- metadata +1 -1
data/klaviyo.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ files = ['klaviyo.gemspec', '{lib}/**/*'].map {|f| Dir[f]}.flatten
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'klaviyo'
|
|
5
|
-
s.version = '0.9.
|
|
5
|
+
s.version = '0.9.3'
|
|
6
6
|
s.date = '2012-09-03'
|
|
7
7
|
s.summary = 'You heard us, a Ruby wrapper for the Klaviyo API'
|
|
8
8
|
s.description = 'Ruby wrapper for the Klaviyo API'
|
data/lib/klaviyo/client.rb
CHANGED
|
@@ -29,9 +29,9 @@ module Klaviyo
|
|
|
29
29
|
:event => event,
|
|
30
30
|
:properties => kwargs[:properties],
|
|
31
31
|
:customer_properties => customer_properties,
|
|
32
|
-
:time => time.to_i,
|
|
33
32
|
:ip => ''
|
|
34
33
|
})
|
|
34
|
+
params[:time] = kwargs[:time].to_time.to_i if kwargs[:time]
|
|
35
35
|
request('crm/api/track', params)
|
|
36
36
|
end
|
|
37
37
|
|