Class: Klomp::Frames::Subscribe
Instance Attribute Summary collapse
-
#previous_subscriber ⇒ Object
Returns the value of attribute previous_subscriber.
Instance Method Summary collapse
-
#initialize(queue) ⇒ Subscribe
constructor
A new instance of Subscribe.
Methods inherited from Frame
#[], #[]=, #body, #body=, #dump_headers, #headers, #name, #new_headers, #to_s
Constructor Details
#initialize(queue) ⇒ Subscribe
Returns a new instance of Subscribe.
99 100 101 102 103 |
# File 'lib/klomp/frames.rb', line 99 def initialize(queue) headers['id'] = queue headers['destination'] = queue headers['ack'] = 'auto' end |
Instance Attribute Details
#previous_subscriber ⇒ Object
Returns the value of attribute previous_subscriber.
98 99 100 |
# File 'lib/klomp/frames.rb', line 98 def previous_subscriber @previous_subscriber end |