Sha256: 7e47301764dbbbc10cb2789d99ee6ab7a5d9e22f977155562a2774befa1167c5
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 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_key do |key| 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
webhookr-0.3.0 | lib/tasks/webhookr_tasks.rake |