class Riddl::Utils::Notifications::Producer::HandlerBase
Public Class Methods
Source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 34 def initialize(data) @data = data @key = nil @topics = [] end
Public Instance Methods
Source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 39 def key(k) @key = k self end
Source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 43 def topics(t) @topics = t self end
Source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 49 def ws_message(socket,data); end
Source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 47 def ws_open(socket); end