Sha256: 6aefe1475f67f7acbe51ac97fd7de6b3df904b44f85d9312c1da32dfff228c16
Contents?: true
Size: 420 Bytes
Versions: 14
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module Uffizzi module AuthHelper class << self def signed_in? ConfigFile.exists? && ConfigFile.option_exists?(:account_id) && ConfigFile.option_exists?(:cookie) && ConfigFile.option_exists?(:hostname) end def project_set? ConfigFile.exists? && ConfigFile.option_exists?(:project) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems