netstat24 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/netstat24.rb +7 -7
- metadata +1 -1
data/lib/netstat24.rb
CHANGED
@@ -20,17 +20,17 @@ class Netstat24
|
|
20
20
|
response
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
23
|
+
def trackEvent(event)
|
24
24
|
event = event.gsub(" ", "")
|
25
25
|
send({method: 'track_event', event: event})
|
26
26
|
end
|
27
27
|
|
28
|
-
def
|
28
|
+
def trackValue(event, value)
|
29
29
|
event = event.gsub(" ", "")
|
30
30
|
send({method: 'track_value', event: event, value: value})
|
31
31
|
end
|
32
32
|
|
33
|
-
def
|
33
|
+
def trackNumber(event, value)
|
34
34
|
event = event.gsub(" ", "")
|
35
35
|
send({method: 'track_number', event: event, value: value})
|
36
36
|
end
|
@@ -47,19 +47,19 @@ class Netstat24
|
|
47
47
|
send({method: 'install', value: value})
|
48
48
|
end
|
49
49
|
|
50
|
-
def
|
50
|
+
def userData(age, sex, friends, app_friends, level)
|
51
51
|
send({method: 'user_data', age: age, gender: sex, nfr: friends, nafr: app_friends, lvl: level})
|
52
52
|
end
|
53
53
|
|
54
|
-
def
|
54
|
+
def adClick(value)
|
55
55
|
send({method: 'ad_click', value: value})
|
56
56
|
end
|
57
57
|
|
58
|
-
def
|
58
|
+
def inviteSent
|
59
59
|
send({method: 'invite_sent'})
|
60
60
|
end
|
61
61
|
|
62
|
-
def
|
62
|
+
def inviteResponse
|
63
63
|
send({method: 'invite_response'})
|
64
64
|
end
|
65
65
|
|