Sha256: ee6012686188bc83fd8eda9269b723b4300b5fed06d05c6bc292804a037143d1
Contents?: true
Size: 441 Bytes
Versions: 43
Compression:
Stored size: 441 Bytes
Contents
# frozen_string_literal: true module Satis class StsWrapper attr_reader :request def initialize(request) @request = request end def browser @browser ||= Browser.new(request.user_agent) end end module ActionControllerHelpers extend ActiveSupport::Concern included do def sts StsWrapper.new(request) end end class_methods do # Nothing yet end end end
Version data entries
43 entries across 43 versions & 1 rubygems