Class: Flux::Workflows::MojoTech::Developer
- Inherits:
-
Thor
- Object
- Thor
- Flux::Workflows::MojoTech::Developer
- Includes:
- Util::Output
- Defined in:
- lib/flux/workflows/mojotech.rb
Instance Method Summary collapse
Methods included from Util::Output
Instance Method Details
#link(story_id) ⇒ Object
10 11 12 13 14 |
# File 'lib/flux/workflows/mojotech.rb', line 10 def link(story_id) invoke 'stories:update', [story_id], :attributes => {'branch' => current_branch_id} end |
#start(story_id, branch_id) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/flux/workflows/mojotech.rb', line 18 def start(story_id, branch_id) invoke 'stories:grab', [story_id], :estimate => [:estimate] invoke 'stories:start', [story_id] invoke 'branches:create', [branch_id] invoke 'branches:checkout', [branch_id] invoke :link, [story_id] end |