Class: RabbitMQ::FFI::ConfirmSelect Private

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/rabbitmq/ffi/gen/confirm_select.rb

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.idObject

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.



7
8
9
# File 'lib/rabbitmq/ffi/gen/confirm_select.rb', line 7

def self.id
  :confirm_select
end

Instance Method Details

#apply(nowait: nil) ⇒ 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.



15
16
17
18
# File 'lib/rabbitmq/ffi/gen/confirm_select.rb', line 15

def apply(nowait: nil)
  self[:nowait] = nowait unless nowait.nil?
  self
end

#free!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.



24
25
# File 'lib/rabbitmq/ffi/gen/confirm_select.rb', line 24

def free!
end

#idObject

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.



11
12
13
# File 'lib/rabbitmq/ffi/gen/confirm_select.rb', line 11

def id
  :confirm_select
end

#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/confirm_select.rb', line 20

def to_h(free=false)
  {nowait: self[:nowait]}
end