class CybersourceryTesting::Generators::DotenvGenerator

Public Class Methods

source_root() click to toggle source
# File lib/rails/generators/cybersourcery_testing/dotenv_generator.rb, line 6
def self.source_root
  @source_root ||= File.expand_path('../templates', __FILE__)
end

Public Instance Methods

create_dotenv_file() click to toggle source
# File lib/rails/generators/cybersourcery_testing/dotenv_generator.rb, line 10
def create_dotenv_file
  template 'dotenv', File.join('.env.cybersourcery_testing_sample')
end