Class: NexmoInitializerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- NexmoInitializerGenerator
- Defined in:
- lib/generators/nexmo_initializer/nexmo_initializer_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_nexmo_initializer ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/nexmo_initializer/nexmo_initializer_generator.rb', line 8 def create_nexmo_initializer if Rails.application.credentials.nexmo return credentials_initializer end env_initializer end |