Sha256: ee6640367ba676bf86488b8faa90970c90fa7caca7438ad06e764d92c65b30bc
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 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 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uffizzi-cli-0.1.4.3 | lib/uffizzi/auth_helper.rb |
uffizzi-cli-0.1.4.2 | lib/uffizzi/auth_helper.rb |
uffizzi-cli-0.1.3 | lib/uffizzi/auth_helper.rb |