Class: Toot::Auth::ListsCredentials

Inherits:
Object
  • Object
show all
Defined in:
lib/toot/auth/lists_credentials.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.call(*args) ⇒ Object



10
11
12
# File 'lib/toot/auth/lists_credentials.rb', line 10

def self.call(*args)
  new.call(*args)
end

Instance Method Details

#call(store_key: Toot.config.auth_credentials_store_key) ⇒ Object



4
5
6
7
8
# File 'lib/toot/auth/lists_credentials.rb', line 4

def call(store_key: Toot.config.auth_credentials_store_key)
  Toot.redis do |r|
    r.hkeys store_key
  end
end