lib/generators/rails/install/templates/initializer.rb.erb
Pokey.configure do |config|
config.hook_dir = "app/hooks"
config.run_on = [:development, :qa] # Only set environments you want pokey
# to simulate requests for
# Add some hooks on-the-fly here. If your data is somewhat complicated, add
# a hook instead with `rails g pokey:hook hook_name`
# config.add_hook do |hook|
# hook.destination = "/my/webhook/endpoint"
# hook.data = {
# name: "Test endpoint"
# }
# hook.interval = 120 # in seconds
# hook.http_method = :post
# end
end