Class: Geet::Services::CreateMilestone
- Inherits:
-
Object
- Object
- Geet::Services::CreateMilestone
- Defined in:
- lib/geet/services/create_milestone.rb
Instance Method Summary collapse
- #execute(title) ⇒ Object
-
#initialize(repository, out: $stdout) ⇒ CreateMilestone
constructor
A new instance of CreateMilestone.
Constructor Details
#initialize(repository, out: $stdout) ⇒ CreateMilestone
Returns a new instance of CreateMilestone.
6 7 8 9 |
# File 'lib/geet/services/create_milestone.rb', line 6 def initialize(repository, out: $stdout) @repository = repository @out = out end |
Instance Method Details
#execute(title) ⇒ Object
11 12 13 |
# File 'lib/geet/services/create_milestone.rb', line 11 def execute(title) create_milestone(title) end |