Class: Jirawatch::Config
- Inherits:
-
Object
- Object
- Jirawatch::Config
- Defined in:
- lib/jirawatch/config.rb
Instance Attribute Summary collapse
-
#config_path ⇒ Object
Returns the value of attribute config_path.
-
#login_file ⇒ Object
Returns the value of attribute login_file.
-
#template_worklog_file ⇒ Object
Returns the value of attribute template_worklog_file.
-
#tracking_file_content ⇒ Object
Returns the value of attribute tracking_file_content.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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. "~/.jirawatch" @login_file = File. "~/.jirawatch/access" end |
Instance Attribute Details
#config_path ⇒ Object
Returns the value of attribute config_path.
5 6 7 |
# File 'lib/jirawatch/config.rb', line 5 def config_path @config_path end |
#login_file ⇒ Object
Returns the value of attribute login_file.
6 7 8 |
# File 'lib/jirawatch/config.rb', line 6 def login_file @login_file end |
#template_worklog_file ⇒ Object
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_content ⇒ Object
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 |