Class: Redcukes::Redmine

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/redcukes/redmine.rb

Direct Known Subclasses

Issue

Constant Summary collapse

@@result =
nil
@@search_content =
nil

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object



26
27
28
# File 'lib/redcukes/redmine.rb', line 26

def self.configure &block
  block.call(self)
end

.result_statusObject



14
15
16
# File 'lib/redcukes/redmine.rb', line 14

def self.result_status
  @@result || {:passed => 3,:failed => 6}
end

.result_status=(value) ⇒ Object



10
11
12
# File 'lib/redcukes/redmine.rb', line 10

def self.result_status=(value)
  @@result = value
end

.search_filterObject



22
23
24
# File 'lib/redcukes/redmine.rb', line 22

def self.search_filter
  @@search_content || {}
end

.search_filter=(value) ⇒ Object



18
19
20
# File 'lib/redcukes/redmine.rb', line 18

def self.search_filter=(value)
  @@search_content = value
end