Class: EotbGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- EotbGenerator
- Defined in:
- lib/generators/eotb/eotb_generator.rb
Instance Method Summary collapse
Instance Method Details
#generator ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/generators/eotb/eotb_generator.rb', line 11 def generator ensure_parameters_was_set generate_initializer unless api_key_configured? puts "Eotb is configured!" puts "File 'config/initializers/eotb.rb' was created!" puts "Start using eotb now!" end |