Module: Intercom::ApiOperations::Bulk::LoadErrorFeed

Included in:
Service::Job
Defined in:
lib/intercom/api_operations/bulk/load_error_feed.rb

Instance Method Summary collapse

Instance Method Details

#errors(params) ⇒ Object


5
6
7
8
9
# File 'lib/intercom/api_operations/bulk/load_error_feed.rb', line 5

def errors(params)
  response = @client.get("/jobs/#{params.fetch(:id)}/error", {})
  raise Intercom::HttpError.new('Http Error - No response entity returned') unless response
  from_api(response)
end