Class: DynamoDb::Generators::SessionStoreConfigGenerator Private
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DynamoDb::Generators::SessionStoreConfigGenerator
- Defined in:
- lib/generators/dynamo_db/session_store_config/session_store_config_generator.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Generates a config file for DynamoDB session storage.
Instance Method Summary collapse
Instance Method Details
#copy_sample_config_file ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 21 22 |
# File 'lib/generators/dynamo_db/session_store_config/session_store_config_generator.rb', line 18 def copy_sample_config_file path = 'config/aws_dynamo_db_session_store' path += "/#{['environment']}" if ['environment'] template('aws_dynamo_db_session_store.yml', "#{path}.yml") end |