module Ivapi::Authentication
Public Instance Methods
authenticated?()
click to toggle source
# File lib/ivapi/authentication.rb, line 13 def authenticated? !authentication.empty? end
authentication()
click to toggle source
# File lib/ivapi/authentication.rb, line 5 def authentication if @username && @password { nick: @username, password: @password } else {} end end