access 2.0.24 → 2.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/access/geolocation.rb +1 -3
- data/lib/access/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ff7fb2735ce3bfe11483e5250a62c84fbe021fa
|
4
|
+
data.tar.gz: 73416ed7190877f314e24bfce49907ec566bf7c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5681adf5ebeb5f594ec7c52248ab75df9710d4a5b7211545971073409334c0193e75d33bf70884d2cc7441e57fa0c0b3cc235f8c2aa666ec332328ac5024a157
|
7
|
+
data.tar.gz: 0a89fbc3181ca65786d14a319c2fab1321196029c81047a98231098dca6e2c882782ba316524828226c28ba4f649e561c90a4de80acb63e212c35b5e5c72f0d2
|
data/lib/access/geolocation.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
module Access
|
2
2
|
class Geolocation
|
3
|
-
attr_accessor :lat, :lon
|
4
3
|
|
5
4
|
def self.search(options = {})
|
6
5
|
Access::Api.new.geolocation_search options
|
@@ -20,8 +19,7 @@ module Access
|
|
20
19
|
self.instance_variable_set("@#{attribute_name}", attribute_value)
|
21
20
|
end
|
22
21
|
|
23
|
-
@
|
24
|
-
@lon = @geolocation['lon']
|
22
|
+
@geolocation = Geolocation.new(@geolocation) if @geolocation
|
25
23
|
end
|
26
24
|
|
27
25
|
end
|
data/lib/access/version.rb
CHANGED