class WebpayInterswitch::Generators::InstallGenerator

Public Instance Methods

create_webpay_initializer() click to toggle source
# File lib/generators/webpay_interswitch/install_generator.rb, line 10
def create_webpay_initializer
  copy_file 'webpay.rb', 'config/initializers/webpay.rb'
end
create_webpay_yml() click to toggle source
# File lib/generators/webpay_interswitch/install_generator.rb, line 6
def create_webpay_yml
  copy_file 'webpay_interswitch.yml.example', 'config/webpay_interswitch.yml.example'
end