lib/punchblock/component/tropo/conference.rb in punchblock-0.6.2 vs lib/punchblock/component/tropo/conference.rb in punchblock-0.7.0
- old
+ new
@@ -149,15 +149,15 @@
def inspect_attributes # :nodoc:
[:name, :mute, :terminator, :tone_passthrough, :moderator, :announcement, :music] + super
end
def register_hold_status_handlers
- register_event_handler OnHold do |event|
+ register_handler :internal, OnHold do |event|
onhold!
throw :pass
end
- register_event_handler OffHold do |event|
+ register_handler :internal, OffHold do |event|
offhold!
throw :pass
end
end