Module: RongCloud::Services::MessagePriority
- Included in:
- RongCloud::Service
- Defined in:
- lib/rong_cloud/services/message_priority.rb
Overview
Instance Method Summary collapse
- #add_chatroom_message_priority(object_name) ⇒ Object
- #add_chatroom_message_whitelist(object_names) ⇒ Object
- #chatroom_message_priorities ⇒ Object
- #chatroom_message_whitelist ⇒ Object
- #remove_chatroom_message_priority(object_name) ⇒ Object
- #remove_chatroom_message_whitelist(object_names) ⇒ Object
Instance Method Details
#add_chatroom_message_priority(object_name) ⇒ Object
7 8 9 |
# File 'lib/rong_cloud/services/message_priority.rb', line 7 def (object_name) request("/chatroom/message/priority/add", objectName: object_name) end |
#add_chatroom_message_whitelist(object_names) ⇒ Object
19 20 21 |
# File 'lib/rong_cloud/services/message_priority.rb', line 19 def (object_names) request("/chatroom/whitelist/add", objectnames: object_names) end |
#chatroom_message_priorities ⇒ Object
15 16 17 |
# File 'lib/rong_cloud/services/message_priority.rb', line 15 def request("/chatroom/message/priority/query") end |
#chatroom_message_whitelist ⇒ Object
27 28 29 |
# File 'lib/rong_cloud/services/message_priority.rb', line 27 def request("/chatroom/whitelist/query") end |
#remove_chatroom_message_priority(object_name) ⇒ Object
11 12 13 |
# File 'lib/rong_cloud/services/message_priority.rb', line 11 def (object_name) request("/chatroom/message/priority/remove", objectName: object_name) end |
#remove_chatroom_message_whitelist(object_names) ⇒ Object
23 24 25 |
# File 'lib/rong_cloud/services/message_priority.rb', line 23 def (object_names) request("/chatroom/whitelist/delete", objectnames: object_names) end |