Class: AflTeamwork::Configuration
- Inherits:
-
Object
- Object
- AflTeamwork::Configuration
- Defined in:
- lib/afl_teamwork.rb
Instance Attribute Summary collapse
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#teamwork_api_key ⇒ Object
Returns the value of attribute teamwork_api_key.
-
#teamwork_name ⇒ Object
Returns the value of attribute teamwork_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 29 30 |
# File 'lib/afl_teamwork.rb', line 26 def initialize @teamwork_name = "teamwork-name" @teamwork_api_key = "xxx" @project_id = "123456" end |
Instance Attribute Details
#project_id ⇒ Object
Returns the value of attribute project_id.
24 25 26 |
# File 'lib/afl_teamwork.rb', line 24 def project_id @project_id end |
#teamwork_api_key ⇒ Object
Returns the value of attribute teamwork_api_key.
23 24 25 |
# File 'lib/afl_teamwork.rb', line 23 def teamwork_api_key @teamwork_api_key end |
#teamwork_name ⇒ Object
Returns the value of attribute teamwork_name.
22 23 24 |
# File 'lib/afl_teamwork.rb', line 22 def teamwork_name @teamwork_name end |