Class: Klomp::Frames::Unsubscribe
Instance Method Summary collapse
-
#initialize(queue) ⇒ Unsubscribe
constructor
A new instance of Unsubscribe.
Methods inherited from Frame
#[], #[]=, #body, #body=, #dump_headers, #headers, #name, #to_s
Constructor Details
#initialize(queue) ⇒ Unsubscribe
Returns a new instance of Unsubscribe.
102 103 104 |
# File 'lib/klomp/frames.rb', line 102 def initialize(queue) headers['id'] = queue end |