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
- #authorization_params_from_config_file ⇒ Object
- #tracker_username(forced_tracker_username = nil) ⇒ Object
Instance Method Details
#authorization_params_from_config_file ⇒ Object
7 8 9 |
# File 'lib/trello_effort_tracker/trello_configuration.rb', line 7 def 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 |