Sha256: 9b71f764097ca98782b2edf1f43c7fc8b4d794112e6a761d40fd208b7c0044be

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

class Authentication
  cattr_accessor :credentials

  def self.setup(credentials)
    @@credentials = credentials
  end

  def self.authentication_required?
    !!credentials
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redis_monitor-0.3.3 lib/engine/app/lib/security/authentication.rb
redis_monitor-0.3.2 lib/engine/app/lib/security/authentication.rb
redis_monitor-0.3 lib/engine/app/lib/security/authentication.rb
redis_monitor-0.2.1 lib/engine/app/lib/security/authentication.rb