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.4.1 lib/geet/services/create_milestone.rb
geet-0.4.0 lib/geet/services/create_milestone.rb
geet-0.3.18 lib/geet/services/create_milestone.rb
geet-0.3.17 lib/geet/services/create_milestone.rb
geet-0.3.16 lib/geet/services/create_milestone.rb
geet-0.3.15 lib/geet/services/create_milestone.rb