Sha256: e046e7c62671ce67c386267e9bafa9275c3cd4c6c5057a849e9f093938bd443c
Contents?: true
Size: 428 Bytes
Versions: 14
Compression:
Stored size: 428 Bytes
Contents
require 'sinatra' require 'sinatra/contrib' get '/' do response.set_cookie( "cookie", { value: "value", secure: false }) response.set_cookie( "cookie2", { value: "value2", secure: false }) response.set_cookie( "cookie3", { value: "value3", secure: true }) response.set_cookie( "cookie4", { value: "value4", secure: true }) end
Version data entries
14 entries across 14 versions & 1 rubygems