Class: Pghub::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_tokenObject

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_organizationObject

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_teamObject

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_teamObject

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