Class: AMQ::Protocol::Exchange::DeclareOk

Inherits:
Method
  • Object
show all
Defined in:
lib/amq/protocol/client.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Method

encode_body, index, inherited, instantiate, method_id, methods, name, split_headers

Constructor Details

#initializeDeclareOk

Returns a new instance of DeclareOk.



912
913
# File 'lib/amq/protocol/client.rb', line 912

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



907
908
909
910
# File 'lib/amq/protocol/client.rb', line 907

def self.decode(data)
  offset = offset = 0 # self-assigning offset to eliminate "assigned but unused variable" warning even if offset is not used in this method
  self.new()
end

.has_content?Boolean

Returns:

  • (Boolean)


915
916
917
# File 'lib/amq/protocol/client.rb', line 915

def self.has_content?
  false
end