Method: RabbitMQ::FFI::BasicQos#to_h

Defined in:
lib/rabbitmq/ffi/gen/basic_qos.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.



26
27
28
29
30
31
32
# File 'lib/rabbitmq/ffi/gen/basic_qos.rb', line 26

def to_h(free=false)
  {
    prefetch_size: self[:prefetch_size],
    prefetch_count: self[:prefetch_count],
    global: self[:global]
  }
end