class ScrumLint::Configurator

Public Class Methods

call() click to toggle source
# File lib/scrum_lint/configurator.rb, line 5
def self.call
  new.()
end

Public Instance Methods

call() click to toggle source
# File lib/scrum_lint/configurator.rb, line 9
def call
  Trello.configure do |trello_config|
    trello_config.developer_public_key = trello_developer_public_key
    trello_config.member_token = trello_member_token
  end
end

Private Instance Methods

trello_developer_public_key() click to toggle source
# File lib/scrum_lint/configurator.rb, line 18
def trello_developer_public_key
  ScrumLint.config.trello_developer_public_key
end
trello_member_token() click to toggle source
# File lib/scrum_lint/configurator.rb, line 22
def trello_member_token
  ScrumLint.config.trello_member_token
end