Sha256: 951f9fccd63fa907e431210da6843fce34c9828d1d6656ea00f5f9085c94292b

Contents?: true

Size: 485 Bytes

Versions: 26

Compression:

Stored size: 485 Bytes

Contents

# frozen_string_literal: true

module Geet
  module Services
    class CreateMilestone
      def initialize(repository, out: $stdout)
        @repository = repository
        @out = out
      end

      def execute(title)
        create_milestone(title)
      end

      private

      def create_milestone(title)
        @out.puts 'Creating milestone...'

        @repository.create_milestone(title)
      end
    end # class CreateMilestone
  end # module Services
end # module Geet

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
geet-0.22.0 lib/geet/services/create_milestone.rb
geet-0.21.0 lib/geet/services/create_milestone.rb
geet-0.19.0 lib/geet/services/create_milestone.rb
geet-0.18.0 lib/geet/services/create_milestone.rb
geet-0.17.0 lib/geet/services/create_milestone.rb
geet-0.16.0 lib/geet/services/create_milestone.rb
geet-0.15.0 lib/geet/services/create_milestone.rb
geet-0.14.0 lib/geet/services/create_milestone.rb
geet-0.13.0 lib/geet/services/create_milestone.rb
geet-0.12.0 lib/geet/services/create_milestone.rb
geet-0.11.0 lib/geet/services/create_milestone.rb
geet-0.10.0 lib/geet/services/create_milestone.rb
geet-0.9.0 lib/geet/services/create_milestone.rb
geet-0.8.0 lib/geet/services/create_milestone.rb
geet-0.7.0 lib/geet/services/create_milestone.rb
geet-0.6.0 lib/geet/services/create_milestone.rb
geet-0.5.0 lib/geet/services/create_milestone.rb
geet-0.4.4 lib/geet/services/create_milestone.rb
geet-0.4.3 lib/geet/services/create_milestone.rb
geet-0.4.2 lib/geet/services/create_milestone.rb