Sha256: efa4330d5435e9bbbb08361a963a5707a8c003349ce55e2e6b49c9bd0a938f16
Contents?: true
Size: 1.43 KB
Versions: 4
Compression:
Stored size: 1.43 KB
Contents
# frozen_string_literal: true require "pakyow/support/extension" require "pakyow/support/path_version" module Pakyow module Behavior module Config extend Support::Extension apply_extension do setting :name, :pakyow setting :version setting :root do Pakyow.config.root end setting :src do File.join(config.root, "backend") end setting :lib do File.join(config.src, "lib") end configurable :tasks do setting :prelaunch, [] end configurable :session do setting :enabled, true setting :object, :cookie configurable :cookie do setting :name do "#{config.name}.session" end setting :domain do Pakyow.config.cookies.domain end setting :path do Pakyow.config.cookies.path end setting :max_age do Pakyow.config.cookies.max_age end setting :expires do Pakyow.config.cookies.expires end setting :secure do Pakyow.config.cookies.secure end setting :http_only do true end setting :same_site do Pakyow.config.cookies.same_site end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems