Class: Access::Geolocation
- Inherits:
-
Object
- Object
- Access::Geolocation
show all
- Includes:
- MuchMeta
- Defined in:
- lib/access/geolocation.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from MuchMeta
#set_up_methods, #set_values
Constructor Details
Returns a new instance of Geolocation.
17
18
19
20
21
22
|
# File 'lib/access/geolocation.rb', line 17
def initialize(values)
@used_fields = []
set_up_methods(values)
set_values(values)
@geolocation = Geolocation.new(@geolocation) if @geolocation
end
|
Class Method Details
.find(options = {}) ⇒ Object
.process_batch(chunk) ⇒ Object
13
14
15
|
# File 'lib/access/geolocation.rb', line 13
def self.process_batch(chunk)
chunk.map { |geolocation| new(geolocation) }
end
|
.search(options = {}) ⇒ Object