Module: ScrumLint::Configuration

Defined in:
lib/scrum_lint/configuration.rb

Class Method Summary collapse

Class Method Details

.newObject



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/scrum_lint/configuration.rb', line 4

def self.new
  OpenStruct.new(
    board_name: 'Eng: Current',
    task_list_names: ['Planned', 'This Sprint', 'Doing', 'In Review'],
    done_list_matcher: /^Done.*$/,
    project_list_names: ['Active Projects'],
    ignored_list_names: %w(Emergent),
    trello_developer_public_key: ENV.fetch('TRELLO_DEVELOPER_PUBLIC_KEY'),
    trello_member_token: ENV.fetch('TRELLO_MEMBER_TOKEN'),
  )
end