Method: RabbitMQ::FFI::BasicNack#to_h

Defined in:
lib/rabbitmq/ffi/gen/basic_nack.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_nack.rb', line 26

def to_h(free=false)
  {
    delivery_tag: self[:delivery_tag],
    multiple: self[:multiple],
    requeue: self[:requeue]
  }
end