Class: SpatialFeatures::Importers::GeoJSON

Inherits:
Base
  • Object
show all
Defined in:
lib/spatial_features/importers/geojson.rb

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

create_all, #features, #initialize

Constructor Details

This class inherits a constructor from SpatialFeatures::Importers::Base

Instance Method Details

#cache_keyObject



7
8
9
# File 'lib/spatial_features/importers/geojson.rb', line 7

def cache_key
  @cache_key ||= Digest::MD5.hexdigest(@data.to_json)
end