Class: Github::Nippou::Init
- Inherits:
-
Object
- Object
- Github::Nippou::Init
- Defined in:
- lib/github/nippou/init.rb
Instance Method Summary collapse
-
#initialize(settings:) ⇒ Init
constructor
A new instance of Init.
-
#run ⇒ Object
Run the initialization.
Constructor Details
#initialize(settings:) ⇒ Init
Returns a new instance of Init.
7 8 9 |
# File 'lib/github/nippou/init.rb', line 7 def initialize(settings:) @settings = settings end |
Instance Method Details
#run ⇒ Object
Run the initialization
15 16 17 18 19 20 21 22 |
# File 'lib/github/nippou/init.rb', line 15 def run puts '** github-nippou Initialization **' set_user! sleep 0.5 set_access_token! sleep 0.5 create_and_set_gist! end |