Class: StatsLite::App

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/stats_lite/app.rb

Instance Method Summary collapse

Instance Method Details

#set_session(password) ⇒ Object



18
19
20
# File 'lib/stats_lite/app.rb', line 18

def set_session(password)
  response.set_cookie "stats_lite_password", password
end