Class: Pghub::Config
- Inherits:
-
Object
- Object
- Pghub::Config
- Defined in:
- lib/pghub/config.rb
Instance Attribute Summary collapse
-
#github_access_token ⇒ Object
Returns the value of attribute github_access_token.
-
#github_organization ⇒ Object
Returns the value of attribute github_organization.
-
#num_of_assignees_per_team ⇒ Object
Returns the value of attribute num_of_assignees_per_team.
-
#num_of_reviewers_per_team ⇒ Object
Returns the value of attribute num_of_reviewers_per_team.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 13 |
# File 'lib/pghub/config.rb', line 8 def initialize @github_organization = '' @github_access_token = '' @num_of_assignees_per_team = {} @num_of_reviewers_per_team = {} end |
Instance Attribute Details
#github_access_token ⇒ Object
Returns the value of attribute github_access_token.
3 4 5 |
# File 'lib/pghub/config.rb', line 3 def github_access_token @github_access_token end |
#github_organization ⇒ Object
Returns the value of attribute github_organization.
3 4 5 |
# File 'lib/pghub/config.rb', line 3 def github_organization @github_organization end |
#num_of_assignees_per_team ⇒ Object
Returns the value of attribute num_of_assignees_per_team.
3 4 5 |
# File 'lib/pghub/config.rb', line 3 def num_of_assignees_per_team @num_of_assignees_per_team end |
#num_of_reviewers_per_team ⇒ Object
Returns the value of attribute num_of_reviewers_per_team.
3 4 5 |
# File 'lib/pghub/config.rb', line 3 def num_of_reviewers_per_team @num_of_reviewers_per_team end |