Class: Decidim::Geo::Shapedata

Inherits:
ApplicationRecord show all
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

Returns:

  • (Boolean)


17
18
19
# File 'app/models/decidim/geo/shapedata.rb', line 17

def shapedata?
  return false
end