Class: Redcuine::Resource::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Redcuine::Resource::Base
- Defined in:
- lib/redcuine/resource.rb
Class Method Summary collapse
Class Method Details
.inherited(child) ⇒ Object
8 9 10 |
# File 'lib/redcuine/resource.rb', line 8 def self.inherited(child) child.headers['X-Redmine-Nometa'] = '1' end |
.setup(&block) ⇒ Object
4 5 6 |
# File 'lib/redcuine/resource.rb', line 4 def self.setup(&block) instance_eval &block end |