class

SpamWatch::Client

Inherits Reference < Object

Constructors

new(token : String, host : String = "https://api.spamwat.ch")
Source

Instance methods

add_ban(user_id, reason)
Source
add_bans(bans : Array(Ban))
Source
create_token(user_id, permission : Permission)
Source
delete_ban(user_id)
Source
delete_token(token_id)
Source
get_ban(user_id)
Source
get_bans
Source
get_self
Source
get_tokens
Source
host
Source
host=(host : String)
Source