Class: AirbrakeAPI::Project
Class Method Summary collapse
-
.collection_path ⇒ Object
deprecated
Deprecated.
Please use Client::projects_path instead
-
.find(*args) ⇒ Object
deprecated
Deprecated.
Please use Client::projects instead
Methods inherited from Base
Class Method Details
.collection_path ⇒ Object
Deprecated.
Please use Client::projects_path instead
14 15 16 17 |
# File 'lib/airbrake-api/project.rb', line 14 def self.collection_path deprecate('Project.collection_path has been deprecated; use AibrakeAPI::Client.projects_path instead') AirbrakeAPI::Client.new.projects_path end |
.find(*args) ⇒ Object
Deprecated.
Please use Client::projects instead
7 8 9 10 11 |
# File 'lib/airbrake-api/project.rb', line 7 def self.find(*args) deprecate('Project.find has been deprecated; use AibrakeAPI::Client.projects instead') = args.last.is_a?(::Hash) ? args.pop : {} AirbrakeAPI::Client.new.projects() end |