Module: JiraHelper::Misc

Included in:
Lita::Handlers::Jira, Lita::Handlers::JiraUtility
Defined in:
lib/jirahelper/misc.rb

Overview

Misc

Instance Method Summary collapse

Instance Method Details

#clientObject



7
8
9
10
11
12
13
14
15
16
# File 'lib/jirahelper/misc.rb', line 7

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