Module: Limp

Defined in:
lib/limp.rb

Overview

Singleton module for exposing tokens

Class Method Summary collapse

Class Method Details

.clientsObject



11
12
13
# File 'lib/limp.rb', line 11

def clients
  @clients ||= tokens.map { |x| team_and_client(x) }.compact.to_h.values
end

.tokensObject



7
8
9
# File 'lib/limp.rb', line 7

def tokens
  @tokens ||= db_files.map { |x| read_tokens(x) }.flatten.uniq
end