lib/rabbitmq/channel.rb
def basic_get(queue, **opts)
      send_request :basic_get, {
        queue:  queue,
        no_ack: opts.fetch(:no_ack, false)
      }
      fetch_response [:basic_get_ok, :basic_get_empty]
    end
def basic_get(queue, **opts)
      send_request :basic_get, {
        queue:  queue,
        no_ack: opts.fetch(:no_ack, false)
      }
      fetch_response [:basic_get_ok, :basic_get_empty]
    end
Message operations