Class: Redcukes::Redmine
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Redcukes::Redmine
- Defined in:
- lib/redcukes/redmine.rb
Direct Known Subclasses
Constant Summary collapse
- @@result =
nil
- @@search_content =
nil
Class Method Summary collapse
- .configure(&block) ⇒ Object
- .result_status ⇒ Object
- .result_status=(value) ⇒ Object
- .search_filter ⇒ Object
- .search_filter=(value) ⇒ Object
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_status ⇒ Object
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_filter ⇒ Object
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 |