Sha256: 17ed40a5e02c0683a8bb794ffbd650ed758a9e1e89a461c3ece288182dfb4b70
Contents?: true
Size: 513 Bytes
Versions: 3
Compression:
Stored size: 513 Bytes
Contents
namespace :webhookr do desc "List the configured services and paths" task :services => :environment do puts "No webhookr services configured - add and configure webhookr plugins." and next if Webhookr.adapters.empty? include Webhookr::Engine.routes.url_helpers Webhookr.adapters.each do |key, adapter| puts "\n\n#{key}:" %w{ GET POST}.each do |x| puts " #{x}\t#{events_path(key, :security_token => Webhookr.config[key].try(:security_token))}\n" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webhookr-0.2.0 | lib/tasks/webhookr_tasks.rake |
webhookr-0.1.0 | lib/tasks/webhookr_tasks.rake |
webhookr-0.0.2 | lib/tasks/webhookr_tasks.rake |