lib/rack-cas/session_store/redis.rb
def write_session(env, sid, session_data, options)
      cas_ticket = (session_data['cas']['ticket'] unless session_data['cas'].nil?)

      success = Session.write(session_id: sid, data: pack(session_data), cas_ticket: cas_ticket)

      success ? sid : false
    end
def write_session(env, sid, session_data, options)
      cas_ticket = (session_data['cas']['ticket'] unless session_data['cas'].nil?)

      success = Session.write(session_id: sid, data: pack(session_data), cas_ticket: cas_ticket)

      success ? sid : false
    end
Rack 2.0 method