def cookies(options = nil)
      if options.nil?
        @cookies ||= Config::Cookies.new(self, options)
      else
        @cookies = Config::Cookies.new(self, options)
      end
    end
def cookies(options = nil)
      if options.nil?
        @cookies ||= Config::Cookies.new(self, options)
      else
        @cookies = Config::Cookies.new(self, options)
      end
    end
Configure cookies
 Enable cookies (disabled by default).

 This is part of a DSL, for this reason when this method is called with
 an argument, it will set the corresponding instance variable. When
 called without, it will return the already set value, or the default.

 @overload cookies(options)
   Sets the given value with their options.
   @param options [Hash, TrueClass, FalseClass]

 @overload cookies
   Gets the value.
   @return [Hanami::Config::Cookies]

 @example Getting the value
   require 'hanami'

   module Bookshelf
     class Application < Hanami::Application
     end
   end

   Bookshelf::Application.configuration.cookies
     # => #<Hanami::Config::Cookies:0x0000000329f880 @options={}, @default_options={:httponly=>true, :secure=>false}>

 @example Setting the value
   require 'hanami'

   module Bookshelf
     class Application < Hanami::Application
       configure do
         cookies domain: 'hanamirb.org'
       end
     end
   end

   Bookshelf::Application.configuration.cookies
     # => #<Hanami::Config::Cookies:0x0000000329f880 @options={:domain=>'hanamirb.org'}, @default_options={:domain=>'hanamirb.org', :httponly=>true, :secure=>false}>