module Molflow::Commands::Jira::Client
Public Instance Methods
atlassian_configuration()
click to toggle source
# File lib/molflow/commands/jira/client.rb, line 12 def atlassian_configuration @atlassian_configuration ||= base_config['atlassian'].symbolize_keys end
base_config()
click to toggle source
# File lib/molflow/commands/jira/client.rb, line 16 def base_config path = ENV['MOLFLOW_BASE_CONFIG'].present? ? ENV['MOLFLOW_BASE_CONFIG'] : "#{ENV['HOME']}/.molflow" @base_config ||= YAML.load_file(path) rescue raise BaseConfigurationLoadError, path end
client()
click to toggle source
# File lib/molflow/commands/jira/client.rb, line 8 def client @client ||= JIRA::Client.new(atlassian_configuration) end