module GeojsonModel::Base
Public Instance Methods
attributes()
click to toggle source
# File lib/geojson_model/base.rb, line 28 def attributes instance_values end
attributes=(hash)
click to toggle source
validates :geojson, geojson: true
# File lib/geojson_model/base.rb, line 22 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end