Class: RedmineAPI::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- RedmineAPI::Base
- Defined in:
- lib/redmine/redmine-api.rb
Class Method Summary collapse
Class Method Details
.headers ⇒ Object
28 29 30 |
# File 'lib/redmine/redmine-api.rb', line 28 def self.headers {"X-Redmine-API-Key" => RedmineAPI.token} end |
.inherited(base) ⇒ Object
24 25 26 |
# File 'lib/redmine/redmine-api.rb', line 24 def self.inherited(base) RedmineAPI.resources << base end |