Module: NgpVan::Client::ExportJobs
- Included in:
- NgpVan::Client
- Defined in:
- lib/ngp_van/client/export_jobs.rb
Instance Method Summary collapse
Instance Method Details
#create_export_job(body: {}) ⇒ Object
6 7 8 |
# File 'lib/ngp_van/client/export_jobs.rb', line 6 def create_export_job(body: {}) post(path: 'exportJobs', body: body) end |
#export_job(id:) ⇒ Object
10 11 12 13 |
# File 'lib/ngp_van/client/export_jobs.rb', line 10 def export_job(id:) verify_id(id) get(path: "exportJobs/#{id}") end |
#export_job_types ⇒ Object
15 16 17 |
# File 'lib/ngp_van/client/export_jobs.rb', line 15 def export_job_types get(path: 'exportJobTypes') end |