Class: Wamp::Worker::Subscription

Inherits:
Handle
  • Object
show all
Defined in:
lib/wamp/worker/config.rb

Instance Attribute Summary collapse

Attributes inherited from Handle

#klass, #method, #options

Instance Method Summary collapse

Constructor Details

#initialize(topic, klass, method, options) ⇒ Subscription

Returns a new instance of Subscription.



34
35
36
37
# File 'lib/wamp/worker/config.rb', line 34

def initialize(topic, klass, method, options)
  super klass, method, options
  @topic = topic
end

Instance Attribute Details

#topicObject (readonly)

Returns the value of attribute topic.



32
33
34
# File 'lib/wamp/worker/config.rb', line 32

def topic
  @topic
end