Class: Twterm::Repository::UserRepository

Inherits:
AbstractExpirableEntityRepository show all
Defined in:
lib/twterm/repository/user_repository.rb

Instance Method Summary collapse

Methods inherited from AbstractExpirableEntityRepository

#create, #expire, #find, #initialize

Methods included from Publisher

#publish

Methods included from Utils

check_type

Methods inherited from AbstractEntityRepository

#create, #find

Methods inherited from AbstractRepository

#after_create, #before_create, #create, #find, #initialize

Constructor Details

This class inherits a constructor from Twterm::Repository::AbstractExpirableEntityRepository

Instance Method Details

#allObject



8
9
10
# File 'lib/twterm/repository/user_repository.rb', line 8

def all
  repository.values
end

#idsObject



12
13
14
# File 'lib/twterm/repository/user_repository.rb', line 12

def ids
  repository.keys
end