Module: Tsuga::Model::Record

Includes:
PointTrait
Defined in:
lib/tsuga/model/record.rb

Overview

Concretions have the following accessors: (same as Point)

And respond to class methods:

  • :find(id)

  • :collect_ids (returns a Set)

Instance Method Summary collapse

Methods included from PointTrait

#&, #=~, #distance_to, #geohash=, #inspect, #lat=, #lng=, #prefix

Instance Method Details

#update_geohashObject



15
16
17
# File 'lib/tsuga/model/record.rb', line 15

def update_geohash
  self.geohash
end