class Redsys::Generators::NotificationsGenerator

Public Instance Methods

add_routes() click to toggle source
# File lib/generators/redsys/notifications_generator.rb, line 13
def add_routes
  route "post 'redsys/notification' => 'redsys/notifications#notification', as: :redsys_notification"
end
copy_controller() click to toggle source
# File lib/generators/redsys/notifications_generator.rb, line 9
def copy_controller
  template "controllers/notifications_controller.rb", "app/controllers/redsys/notifications_controller.rb"
end