Sha256: 6927fbe62b34be5b93cfe96f21cd279e0f7d7a2a341b3547006285c45d790cbe

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

# Helper functions for lita-jira
module JiraHelper
  # Misc
  module Misc
    def client
      JIRA::Client.new(
        username: config.username,
        password: config.password,
        site: config.site,
        context_path: config.context,
        auth_type: :basic
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lita-jira-0.7.2 lib/jirahelper/misc.rb
lita-jira-0.7.1 lib/jirahelper/misc.rb
lita-jira-0.7.0 lib/jirahelper/misc.rb
lita-jira-0.6.0 lib/jirahelper/misc.rb
lita-jira-0.5.0 lib/jirahelper/misc.rb
lita-jira-0.4.0 lib/jirahelper/misc.rb