def create_job name, api_type, urls = [], options = {}
      api_url = "http://api.diffbot.com/v2/#{api_type}"
      api_url = "http://api.diffbot.com/#{options[:version]}/#{api_type}" if options[:version] == 'v2' || options[:version] == 'v3'
      api_url = parse_options(options, api_url)
      endpoint = 'http://api.diffbot.com/v3/bulk'
      post_body = generate_post_body(name, api_url, urls, options)
      JSON.parse(HTTParty.post(endpoint, body: post_body.to_json, headers: {'Content-Type' => 'application/json'}).body).each_pair do |k, v|
        self[k] = v
      end
    end
def create_job name, api_type, urls = [], options = {}
      api_url = "http://api.diffbot.com/v2/#{api_type}"
      api_url = "http://api.diffbot.com/#{options[:version]}/#{api_type}" if options[:version] == 'v2' || options[:version] == 'v3'
      api_url = parse_options(options, api_url)
      endpoint = 'http://api.diffbot.com/v3/bulk'
      post_body = generate_post_body(name, api_url, urls, options)
      JSON.parse(HTTParty.post(endpoint, body: post_body.to_json, headers: {'Content-Type' => 'application/json'}).body).each_pair do |k, v|
        self[k] = v
      end
    end
a new instance of Biffbot::Bulk

 @param token [String] Override Biffbot.token with another token
 create a bulk job

 @param name [String]  Desired name for bulk job
 @param api_type [String] Desired API to use for urls
 @param urls [Array] An array of input urls to pass to bulk job
 @param options [Hash] An hash of options
 @return [Hash]