Class: Pundit::Matchers::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/pundit/matchers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
# File 'lib/pundit/matchers.rb', line 8

def initialize
  @user_alias = :user
end

Instance Attribute Details

#user_aliasObject

Returns the value of attribute user_alias.



6
7
8
# File 'lib/pundit/matchers.rb', line 6

def user_alias
  @user_alias
end