Class: Airbox::Project

Inherits:
Resource
  • Object
show all
Defined in:
lib/airbox.rb

Overview

Airbrake project resources

Instance Method Summary collapse

Methods inherited from Resource

add_relevant_opts_to_params, auth_token=, ensure_collection, find, instantiate_collection, prepare_params

Instance Method Details

#errors(opts = {}) ⇒ Object

Return project’s errors



118
119
120
# File 'lib/airbox.rb', line 118

def errors(opts={})
  Error.all(opts.merge(project_id: id))
end