Module: TrelloConfiguration

Included in:
GoogleDocsExporter, Tracking::Base, TrelloAuthorize
Defined in:
lib/trello_effort_tracker/trello_configuration.rb

Defined Under Namespace

Classes: Database

Instance Method Summary collapse

Instance Method Details

#authorization_params_from_config_fileObject



7
8
9
# File 'lib/trello_effort_tracker/trello_configuration.rb', line 7

def authorization_params_from_config_file
  configuration["trello"]
end

#tracker_username(forced_tracker_username = nil) ⇒ Object



3
4
5
# File 'lib/trello_effort_tracker/trello_configuration.rb', line 3

def tracker_username(forced_tracker_username=nil)
  @tracker_username ||= forced_tracker_username || ENV["tracker_username"] || configuration["tracker_username"]
end