Sha256: c4b0dc07862be9b6965ee8f8efb3c92b70aa79b8dd9a616adad1b15d1a529e7c

Contents?: true

Size: 515 Bytes

Versions: 14

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

module JabberAdmin
  module Commands
    # List all registered users on the ejabberd vhost.
    #
    # @see https://bit.ly/2KhwT6Z
    class RegisteredUsers
      # Pass the correct data to the given callable.
      #
      # @param callable [Proc, #call] the callable to call
      # @param host [String] the jabber vhost (eg. +localhost+)
      def self.call(callable, host:)
        callable.call('registered_users', check_res_body: false, host: host)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
jabber_admin-1.3.4 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.3.3 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.3.2 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.3.1 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.3.0 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.2.0 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.1.0 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.0.5 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.0.4 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.0.3 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.0.2 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.0.1 lib/jabber_admin/commands/registered_users.rb
jabber_admin-1.0.0 lib/jabber_admin/commands/registered_users.rb
jabber_admin-0.2.0 lib/jabber_admin/commands/registered_users.rb