Sha256: a2a32d8980591ae75f1ff4561050fadd88f3fce9837eda382766e077d11b1833
Contents?: true
Size: 247 Bytes
Versions: 4
Compression:
Stored size: 247 Bytes
Contents
module Ivapi module Authentication def authentication if username && password { nick: username, password: password } else {} end end def authenticated? !authentication.empty? end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ivapi-1.0.3 | lib/ivapi/authentication.rb |
ivapi-1.0.2 | lib/ivapi/authentication.rb |
ivapi-1.0.1 | lib/ivapi/authentication.rb |
ivapi-1.0.0 | lib/ivapi/authentication.rb |