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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04985d112cda02dec9aca8702fc92402aad0ccb8
4
- data.tar.gz: c4f2f656abee6f0abfb90676968fbc950bdea25e
3
+ metadata.gz: 6ff7fb2735ce3bfe11483e5250a62c84fbe021fa
4
+ data.tar.gz: 73416ed7190877f314e24bfce49907ec566bf7c6
5
5
  SHA512:
6
- metadata.gz: 8803ec8459df409069a76bc648f4b996482c44cbf7f86dd5335e3d54a86226f28708aec3328ffe3f29886242cfb7066bfd853c33947c4715314f69063728a754
7
- data.tar.gz: 817797c362bf4f8c7341bd8362984d0f39733f571e7134d09404b8efaa034b5669190bc830915ba68ea4f088668430e214156382afcfc68345370f85b3b6d8f3
6
+ metadata.gz: 5681adf5ebeb5f594ec7c52248ab75df9710d4a5b7211545971073409334c0193e75d33bf70884d2cc7441e57fa0c0b3cc235f8c2aa666ec332328ac5024a157
7
+ data.tar.gz: 0a89fbc3181ca65786d14a319c2fab1321196029c81047a98231098dca6e2c882782ba316524828226c28ba4f649e561c90a4de80acb63e212c35b5e5c72f0d2
@@ -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
- @lat = @geolocation['lat']
24
- @lon = @geolocation['lon']
22
+ @geolocation = Geolocation.new(@geolocation) if @geolocation
25
23
  end
26
24
 
27
25
  end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.0.24"
2
+ VERSION = "2.0.25"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.24
4
+ version: 2.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett