leftronicapi 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/VERSION +1 -1
- data/leftronicapi.gemspec +1 -1
- data/lib/leftronic.rb +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -24,7 +24,7 @@ Authentication is handled by your API access key. We strongly encourage you to k
|
|
24
24
|
All API requests are made by sending a POST request to https://beta.leftronic.com/customSend with a properly formatted JSON packet. We do not support XML.
|
25
25
|
|
26
26
|
Current API version is 1.0.
|
27
|
-
Current Ruby Gem version is 1.1.
|
27
|
+
Current Ruby Gem version is 1.1.1.
|
28
28
|
|
29
29
|
Getting Started
|
30
30
|
---------------
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/leftronicapi.gemspec
CHANGED
data/lib/leftronic.rb
CHANGED
@@ -25,7 +25,7 @@ class Leftronic
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
def self.
|
28
|
+
def self.pushGeo(streamName, lati, longi)
|
29
29
|
### Pushing a geographic location (latitude and longitude) to a Map widget
|
30
30
|
parameters = {"accessKey" => @@accessKey, "streamName" => streamName, "point" => {
|
31
31
|
"latitude" => lati, "longitude" => longi}}
|
@@ -55,7 +55,7 @@ class Leftronic
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
def self.
|
58
|
+
def self.pushLeaderboard(streamName, leaderArray)
|
59
59
|
### Pushing an array to the Leaderboard widget
|
60
60
|
parameters = {"accessKey" => @@accessKey, "streamName" => streamName, "point" => {
|
61
61
|
"leaderboard" => leaderArray}}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leftronicapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Peter Schaadt
|