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