Class: JabberAdmin::Commands::UnsubscribeRoom
- Inherits:
-
Object
- Object
- JabberAdmin::Commands::UnsubscribeRoom
- Defined in:
- lib/jabber_admin/commands/unsubscribe_room.rb
Overview
Subscribe to a MUC conference, via the mucsub feature.
Class Method Summary collapse
-
.call(callable, user:, room:) ⇒ Object
Pass the correct data to the given callable.
Class Method Details
.call(callable, user:, room:) ⇒ Object
Pass the correct data to the given callable.
14 15 16 |
# File 'lib/jabber_admin/commands/unsubscribe_room.rb', line 14 def self.call(callable, user:, room:) callable.call('unsubscribe_room', user: user, room: room) end |