Class: AirbrakeAPI::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/airbrake-api/base.rb

Direct Known Subclasses

Error, Notice, Project

Class Method Summary collapse

Class Method Details

.deprecate(msg) ⇒ Object


12
13
14
# File 'lib/airbrake-api/base.rb', line 12

def deprecate(msg)
  Kernel.warn("[Deprecation] - #{msg}")
end

.fetch(path, options) ⇒ Object


8
9
10
# File 'lib/airbrake-api/base.rb', line 8

def fetch(path, options)
  Client.new.get(path, options)
end

.setupObject


5
6
# File 'lib/airbrake-api/base.rb', line 5

def setup
end