Sha256: f525a9b28ba8e46589ff6320ad46d15f4604483afdc903712a439521a5d749f3
Contents?: true
Size: 440 Bytes
Versions: 7
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Authorizy class BaseCop def initialize(current_user, params, session) @action = params[:action].to_s @controller = params[:controller].to_s @current_user = current_user @params = params @session = session end def access? false end protected attr_reader :action, :controller, :current_user, :params, :session end end
Version data entries
7 entries across 7 versions & 1 rubygems