Class: OktaSamlGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- OktaSamlGenerator
- Defined in:
- lib/generators/okta_saml_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
4 5 6 |
# File 'lib/generators/okta_saml_generator.rb', line 4 def self.source_root File.join(File.dirname(__FILE__), 'templates') end |
Instance Method Details
#generate_config_file ⇒ Object
8 9 10 |
# File 'lib/generators/okta_saml_generator.rb', line 8 def generate_config_file copy_file 'okta_saml.yml', 'config/okta_saml.yml' end |