Class: Redcuine::Resource::Base

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/redcuine/resource.rb

Direct Known Subclasses

Issue, Project

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