Class: Commands::Card
Instance Attribute Summary collapse
-
#story_id ⇒ Object
Returns the value of attribute story_id.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Pick
Methods inherited from Base
#get, #initialize, #put, #run!, #sys, #with
Constructor Details
This class inherits a constructor from Commands::Base
Instance Attribute Details
#story_id ⇒ Object
Returns the value of attribute story_id.
5 6 7 |
# File 'lib/commands/card.rb', line 5 def story_id @story_id end |
Instance Method Details
#branch_suffix ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/commands/card.rb', line 15 def branch_suffix if story.story_type == "bug" "bugfix" else story.story_type end end |
#plural_type ⇒ Object
11 12 13 |
# File 'lib/commands/card.rb', line 11 def plural_type "cards" end |
#type ⇒ Object
7 8 9 |
# File 'lib/commands/card.rb', line 7 def type "story" end |