Sha256: eab8b9919e22230c80204414fa31866aa5df74adca47b6ce5c7c3e96b0281e49

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 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,
        use_ssl: config.use_ssl
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lita-jira-0.8.1 lib/jirahelper/misc.rb
lita-jira-0.8.0 lib/jirahelper/misc.rb