Class: Airbox::Group

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

Overview

Airbrake group resources

Defined Under Namespace

Classes: Notice

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

#notices(opts = {}) ⇒ Object

Return group’s notices



141
142
143
# File 'lib/airbox.rb', line 141

def notices(opts={})
   Notice.all(opts.merge(from: "/groups/#{id}/notices"))
end