Compare commits

..

No commits in common. "41b9cb722b6b3e7513aa06ae77586e6db41fef3e" and "c6cb9caa6daf142b85940e39ef6947fa1be383cd" have entirely different histories.

View File

@ -22,19 +22,8 @@ class EjabberdApiClient
post "send_message", payload
end
def private_get(user, element_name, namespace)
payload = {
user: user.cn, host: user.ou,
element: element_name, ns: namespace
}
post "private_set", payload
end
def private_set(user, content)
payload = {
user: user.cn, host: user.ou,
element: content
}
payload = { user: user.cn, host: user.ou, element: content }
post "private_set", payload
end
end