Class: Jirawatch::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/jirawatch/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



9
10
11
12
13
# File 'lib/jirawatch/config.rb', line 9

def initialize
  @template_worklog_file = "/tmp/jirawatch-%s"
  @config_path = File.expand_path "~/.jirawatch"
  @login_file = File.expand_path "~/.jirawatch/access"
end

Instance Attribute Details

#config_pathObject

Returns the value of attribute config_path.



5
6
7
# File 'lib/jirawatch/config.rb', line 5

def config_path
  @config_path
end

#login_fileObject

Returns the value of attribute login_file.



6
7
8
# File 'lib/jirawatch/config.rb', line 6

def 
  @login_file
end

#template_worklog_fileObject

Returns the value of attribute template_worklog_file.



4
5
6
# File 'lib/jirawatch/config.rb', line 4

def template_worklog_file
  @template_worklog_file
end

#tracking_file_contentObject

Returns the value of attribute tracking_file_content.



7
8
9
# File 'lib/jirawatch/config.rb', line 7

def tracking_file_content
  @tracking_file_content
end