Class: Datahen::Client::JobExport

Inherits:
Base
  • Object
show all
Defined in:
lib/datahen/client/job_export.rb

Constant Summary

Constants inherited from Base

Base::CHECK_EMPTY_BODY, Base::CHECK_NIL, Base::DEFAULT_RETRY_LIMIT

Instance Method Summary collapse

Methods inherited from Base

#auth_token, #auth_token=, #default_retry_limit, #env_api_url, env_auth_token, env_ignore_ssl, #ignore_ssl, #initialize, #left_merge, random_delay, #retry

Constructor Details

This class inherits a constructor from Datahen::Client::Base

Instance Method Details

#create(job_id, exporter_name) ⇒ Object



4
5
6
# File 'lib/datahen/client/job_export.rb', line 4

def create(job_id, exporter_name)
  self.class.post("/jobs/#{job_id}/exports/#{exporter_name}", @options)
end