Sha256: dc3f22390a42a548382df8ace46162eaa3396ddccf8861c7e5a74f1fcf4d2400

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module JabberAdmin
  module Commands
    ##
    # Restart ejabberd gracefully
    # https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#restart-restart-ejabberd-gracefully
    class Restart
      def self.call
        JabberAdmin::ApiCall.perform 'restart'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jabber_admin-0.1.4 lib/jabber_admin/commands/restart.rb
jabber_admin-0.1.3 lib/jabber_admin/commands/restart.rb
jabber_admin-0.1.2 lib/jabber_admin/commands/restart.rb
jabber_admin-0.1.1 lib/jabber_admin/commands/restart.rb
jabber_admin-0.1.0 lib/jabber_admin/commands/restart.rb