Class: Dude::Setup::Trello

Inherits:
Object
  • Object
show all
Defined in:
lib/dude/setup/trello.rb

Instance Method Summary collapse

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