vfnetapis 0.0.2 → 0.0.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/lib/vfnetapis.rb +2 -2
- data/lib/vfnetapis/version.rb +1 -1
- metadata +2 -2
data/lib/vfnetapis.rb
CHANGED
|
@@ -44,8 +44,8 @@ module Vfnetapis
|
|
|
44
44
|
if resJson["terminalLocationList"]["terminalLocation"]["locationRetrievalStatus"] == "NotRetrieved"
|
|
45
45
|
@longitude = @latitude = @altitude = "Not Found"
|
|
46
46
|
else
|
|
47
|
-
@longitude = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["longitude"]
|
|
48
|
-
@latitude = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["latitude"]
|
|
47
|
+
@longitude = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["longitude"][0..8]
|
|
48
|
+
@latitude = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["latitude"][0..8]
|
|
49
49
|
@altitude = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["altitude"]
|
|
50
50
|
@accuracy = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["accuracy"]
|
|
51
51
|
@timestamp = resJson["terminalLocationList"]["terminalLocation"]["currentLocation"]["timestamp"]
|
data/lib/vfnetapis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vfnetapis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-05-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: OAUTH with OneAPI calls against Vodafone's OneAPI endpoint.
|
|
15
15
|
email:
|