Sha256: f9f009be54be79ca44073b3898017c787336be1689d8707f1582ee6ee4463ac6

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

module MicroSession
  class << self
    alias configure tap

    mattr_accessor :param, :key, :param_type, :length, :counter

    self.param = '_msid'
    self.key = '_micro_sessions'
    self.param_type = :hash
    self.length = 11
    self.counter = 2

    def options
      { param: param, key: key, param_type: param_type, length: length, counter: counter }
    end
  end

  class Engine < ::Rails::Engine
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
micro_sessions-0.4.0 lib/micro_session/engine.rb