Sha256: edf7a305dbdb9120e8dc6cef656e061c42dfc1c0e7f47fb79264300a0852c1ca
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
# frozen_string_literal: true module Hanami class Configuration # Hanami configuration for HTTP cookies # # @since 2.0.0 class Cookies def self.null { null: true } end attr_reader :options def initialize(options) @options = options end def enabled? options != self.class.null end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hanami-2.0.0.alpha1 | lib/hanami/configuration/cookies.rb |