Class: Geet::Services::CreateMilestone

Inherits:
Object
  • Object
show all
Defined in:
lib/geet/services/create_milestone.rb

Instance Method Summary collapse

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