lib/rabbitmq/channel.rb
def basic_qos(**opts)
      send_request :basic_qos, {
        prefetch_count: opts.fetch(:prefetch_count, 0),
        prefetch_size:  opts.fetch(:prefetch_size,  0),
        global:         opts.fetch(:global,         false)
      }
      fetch_response :basic_qos_ok
    end
def basic_qos(**opts)
      send_request :basic_qos, {
        prefetch_count: opts.fetch(:prefetch_count, 0),
        prefetch_size:  opts.fetch(:prefetch_size,  0),
        global:         opts.fetch(:global,         false)
      }
      fetch_response :basic_qos_ok
    end
Consumer operations