lib/cs.rb
# Create a new session to CommonSense using username and plain text password
# with `login!` it will throw exception if there is an error
#
#    client = CS::Client.new
#    client.login!('username', 'password')
Create a new session to CommonSense using username and plain text password
with `login!` it will throw exception if there is an error


Create a new session to CommonSense using username and plain text password with ` login! ` it will throw exception if there is an error
def login!(user, password, digest=true)
      @session = Session.new(base_uri: @base_uri)
      @session.logger = @logger
      @session.login(user, password, digest)
    end
def login! ( user , password , digest = true ) @session = Session . new ( base_uri : @base_uri ) @session . logger = @logger @session . login ( user , password , digest ) end
Create a new session to CommonSense using username and plain text password
with `login!` it will throw exception if there is an error
Create a new session to CommonSense using username and plain text password with ` login! ` it will throw exception if there is an error
user
<not_specific>
password
<not_specific>
digest
<not_specific>