Class: FlashFlow::IssueTracker::Base
- Inherits:
-
Object
- Object
- FlashFlow::IssueTracker::Base
- Defined in:
- lib/flash_flow/issue_tracker.rb
Instance Method Summary collapse
-
#initialize(_config = nil) ⇒ Base
constructor
A new instance of Base.
- #production_deploy ⇒ Object
- #release_notes(hours, file = STDOUT) ⇒ Object
- #stories_delivered ⇒ Object
- #stories_pushed ⇒ Object
Constructor Details
#initialize(_config = nil) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 17 |
# File 'lib/flash_flow/issue_tracker.rb', line 11 def initialize(_config=nil) @config = _config issue_tracker_class_name = @config && @config['class'] && @config['class']['name'] return unless issue_tracker_class_name @issue_tracker_class = Object.const_get(issue_tracker_class_name) end |
Instance Method Details
#production_deploy ⇒ Object
27 28 29 |
# File 'lib/flash_flow/issue_tracker.rb', line 27 def production_deploy issue_tracker.production_deploy if issue_tracker.respond_to?(:production_deploy) end |
#release_notes(hours, file = STDOUT) ⇒ Object
31 32 33 |
# File 'lib/flash_flow/issue_tracker.rb', line 31 def release_notes(hours, file=STDOUT) issue_tracker.release_notes(hours, file) if issue_tracker.respond_to?(:release_notes) end |
#stories_delivered ⇒ Object
23 24 25 |
# File 'lib/flash_flow/issue_tracker.rb', line 23 def stories_delivered issue_tracker.stories_delivered if issue_tracker.respond_to?(:stories_delivered) end |
#stories_pushed ⇒ Object
19 20 21 |
# File 'lib/flash_flow/issue_tracker.rb', line 19 def stories_pushed issue_tracker.stories_pushed if issue_tracker.respond_to?(:stories_pushed) end |