Class: CamaleonSitemapCustomizer::SubmitSitemapJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- CamaleonSitemapCustomizer::SubmitSitemapJob
- Defined in:
- app/jobs/camaleon_sitemap_customizer/submit_sitemap_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(submit_url) ⇒ Object
6 7 8 9 |
# File 'app/jobs/camaleon_sitemap_customizer/submit_sitemap_job.rb', line 6 def perform(submit_url) url = URI.parse submit_url Net::HTTP.get url end |