Class: Airbox::Error

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

Overview

Airbrake error 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

#full_obj(opts = {}) ⇒ Object

Collect all associated data



127
128
129
# File 'lib/airbox.rb', line 127

def full_obj(opts={})
  self.class.find(id, opts)
end

#group(opts = {}) ⇒ Object

Return related group



132
133
134
# File 'lib/airbox.rb', line 132

def group(opts={})
  Group.find(id)
end