Sha256: 1089bbbea43decab925ce5456081b305e093b4e60fa963b592c7f6780d5d23ba

Contents?: true

Size: 399 Bytes

Versions: 7

Compression:

Stored size: 399 Bytes

Contents

require 'dude/project_management/jira/client'

module Dude
  module ProjectManagement
    module Jira
      class GetTaskNameById
        include Settings

        def initialize(client, id:)
          @client = client
          @id = id
        end

        def call
          client.Issue.find(id).summary
        end

        private

        attr_reader :client, :id
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dude-cli-2.0.6 lib/dude/project_management/jira/get_task_name_by_id.rb
dude-cli-2.0.5 lib/dude/project_management/jira/get_task_name_by_id.rb
dude-cli-2.0.4 lib/dude/project_management/jira/get_task_name_by_id.rb
dude-cli-2.0.3 lib/dude/project_management/jira/get_task_name_by_id.rb
dude-cli-2.0.2 lib/dude/project_management/jira/get_task_name_by_id.rb
dude-cli-2.0.1 lib/dude/project_management/jira/get_task_name_by_id.rb
dude-cli-2.0.0 lib/dude/project_management/jira/get_task_name_by_id.rb