class

Circed::Repositories::UserRepository

Inherits Circed::Core::Repository / Enumerable / Reference / Object

Instance methods

[]=(id : String, entity : Domain::User) : Domain::User
Source
[]?(id : String) : Domain::User | Nil
Source
add_client(client : Client) : Nil

Client-specific methods (for local users)

Source
change_nickname(old_nickname : String, new_nickname : String) : Bool
Source
clear
Source
delete(id : String) : Domain::User | Nil
Source
each

Must yield this collection's elements to the block.

Source
each_client
Source
get_client(nickname : String) : Client | Nil
Source
has_client?(nickname : String) : Bool
Source
remove_client(nickname : String) : Bool
Source
size

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4
Source