Class: Decidim::Geo::Shp2pgsqlJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/decidim/geo/shp2pgsql_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(shapefile) ⇒ Object



8
9
10
11
# File 'app/jobs/decidim/geo/shp2pgsql_job.rb', line 8

def perform(shapefile)
  load_shapefile = LoadShp::AppLoadShp.new(shapefile)
  load_shapefile.run!
end