Class: Dude::Setup::Trello
- Inherits:
-
Object
- Object
- Dude::Setup::Trello
- Defined in:
- lib/dude/setup/trello.rb
Instance Method Summary collapse
- #call(settings:) ⇒ Object
-
#initialize(prompt) ⇒ Trello
constructor
A new instance of Trello.
Constructor Details
#initialize(prompt) ⇒ Trello
Returns a new instance of Trello.
6 7 8 |
# File 'lib/dude/setup/trello.rb', line 6 def initialize(prompt) @prompt = prompt end |
Instance Method Details
#call(settings:) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/dude/setup/trello.rb', line 10 def call(settings:) settings[:trello][:key] = setup_key settings[:trello][:token] = setup_token settings[:trello][:board_id] = setup_board_id settings end |