Sha256: d0f3889bab6c3af3450ab76d4331cc3cd5b7a1bb0b88a6212adfba72fbc6383d

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

# encoding: utf-8

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/generators/app/templates/events.erb
adhearsion-3.0.0.beta2 lib/adhearsion/generators/app/templates/events.erb
adhearsion-3.0.0.beta1 lib/adhearsion/generators/app/templates/events.erb