Sha256: 25a332de407706d84adf25febd34b83da0fcae84fc74dbb954c734f9280a939a

Contents?: true

Size: 317 Bytes

Versions: 9

Compression:

Stored size: 317 Bytes

Contents

# encoding: utf-8

Adhearsion::Events.draw do
<% unless options[:empty] %>
  # Register global handlers for events
  #
  # eg. Handling Punchblock events
  # punchblock do |event|
  #   ...
  # end
  #
  # eg Handling PeerStatus AMI events
  # ami :name => 'PeerStatus' do |event|
  #   ...
  # end
  #
<% end %>
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adhearsion-2.6.4 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.6.3 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.6.2 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.6.1 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.6.0 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.5.4 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.5.3 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.5.2 lib/adhearsion/generators/app/templates/events.erb
adhearsion-2.5.0 lib/adhearsion/generators/app/templates/events.erb