Class: Decidim::Geo::Shapedata
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::Geo::Shapedata
- Defined in:
- app/models/decidim/geo/shapedata.rb
Overview
Data fo the shapfiles uploaded
Instance Method Summary collapse
Instance Method Details
#execute_statement(sql) ⇒ Object
13 14 15 |
# File 'app/models/decidim/geo/shapedata.rb', line 13 def execute_statement(sql) Shapedata.connection.exec_query(sql) end |
#shapedata? ⇒ Boolean
17 18 19 |
# File 'app/models/decidim/geo/shapedata.rb', line 17 def shapedata? return false end |