class Riddl::Utils::Notifications::Producer::HandlerBase

Public Class Methods

new(data) click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 34
def initialize(data)
  @data = data
  @key = nil
  @topics = []
end

Public Instance Methods

create() click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 50
def create; end
delete() click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 51
def delete; end
key(k) click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 39
def key(k)
  @key = k
  self
end
topics(t) click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 43
def topics(t)
  @topics = t
  self
end
update() click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 52
def update; end
ws_close() click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 48
def ws_close; end
ws_message(socket,data) click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 49
def ws_message(socket,data); end
ws_open(socket) click to toggle source
# File lib/ruby/riddl/utils/notifications_producer.rb, line 47
def ws_open(socket); end