class JuspayCheckout::Generators::InstallGenerator
Public Class Methods
source_root()
click to toggle source
# File lib/generators/juspay_checkout/install/install_generator.rb, line 6 def self.source_root source_root ||= File.join(File.dirname(__FILE__), 'templates/') end
Public Instance Methods
copy_validate_api_yml_file()
click to toggle source
# File lib/generators/juspay_checkout/install/install_generator.rb, line 10 def copy_validate_api_yml_file copy_file "juspay.yml", "config/juspay.yml" end