Method: RabbitMQ::FFI::ChannelOpen#to_h

Defined in:
lib/rabbitmq/ffi/gen/channel_open.rb

#to_h(free = false) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/rabbitmq/ffi/gen/channel_open.rb', line 20

def to_h(free=false)
  {out_of_band: self[:out_of_band].to_s(free)}
end