class UPnPEventListener
Public Class Methods
new(on_event_notify = nil)
click to toggle source
# File lib/upnp_event.rb, line 55 def initialize(on_event_notify = nil) @on_event_notify = on_event_notify end
Public Instance Methods
on_event_notify(sid, props)
click to toggle source
# File lib/upnp_event.rb, line 59 def on_event_notify(sid, props) if @on_event_notify @on_event_notify.call sid, props end end