Class: JabberAdmin::Commands::RegisteredUsers

Inherits:
Object
  • Object
show all
Defined in:
lib/jabber_admin/commands/registered_users.rb

Overview

List all registered users on the ejabberd vhost.

Class Method Summary collapse

Class Method Details

.call(callable, host:) ⇒ Object

Pass the correct data to the given callable.

Parameters:

  • callable (Proc, #call)

    the callable to call

  • host (String)

    the jabber vhost (eg. localhost)



13
14
15
# File 'lib/jabber_admin/commands/registered_users.rb', line 13

def self.call(callable, host:)
  callable.call('registered_users', check_res_body: false, host: host)
end