Method: Bugsnag::Api::Client::Errors#errors
- Defined in:
- lib/bugsnag/api/client/errors.rb
#errors(project_id, id = nil, options = {}) ⇒ Array<Sawyer::Resource> Also known as: error
List the Errors on a Project
19 20 21 22 23 24 25 |
# File 'lib/bugsnag/api/client/errors.rb', line 19 def errors(project_id, id=nil, = {}) if id.nil? paginate "projects/#{project_id}/errors", else get "projects/#{project_id}/errors/#{id}", end end |