analytics-ruby-mock 0.0.4 → 0.0.5
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/lib/analytics_ruby_mock.rb +0 -15
- metadata +1 -1
data/lib/analytics_ruby_mock.rb
CHANGED
|
@@ -12,11 +12,6 @@ module AnalyticsRuby
|
|
|
12
12
|
@track_calls << options
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
def track_count
|
|
16
|
-
initialize if @track_calls.nil?
|
|
17
|
-
@track_calls.count
|
|
18
|
-
end
|
|
19
|
-
|
|
20
15
|
def track_events
|
|
21
16
|
@track_calls.collect { |t| t[:event] }
|
|
22
17
|
end
|
|
@@ -31,11 +26,6 @@ module AnalyticsRuby
|
|
|
31
26
|
@identify_calls << options
|
|
32
27
|
end
|
|
33
28
|
|
|
34
|
-
def identify_count
|
|
35
|
-
initialize if @identify_calls.nil?
|
|
36
|
-
@identify_calls.count
|
|
37
|
-
end
|
|
38
|
-
|
|
39
29
|
#############################################################
|
|
40
30
|
# Alias #####################################################
|
|
41
31
|
|
|
@@ -46,11 +36,6 @@ module AnalyticsRuby
|
|
|
46
36
|
@alias_calls << options
|
|
47
37
|
end
|
|
48
38
|
|
|
49
|
-
def alias_count
|
|
50
|
-
initialize if @alias_calls.nil?
|
|
51
|
-
@alias_calls.count
|
|
52
|
-
end
|
|
53
|
-
|
|
54
39
|
#############################################################
|
|
55
40
|
# Flush #####################################################
|
|
56
41
|
|