Class: LogicalAuthz::Matcher::Forbidden
- Inherits:
-
Authorized
- Object
- Authorized
- LogicalAuthz::Matcher::Forbidden
- Defined in:
- lib/logical_authz/spec_helper.rb
Instance Method Summary collapse
Methods inherited from Authorized
#failure_message, #failure_message_for_should, #failure_message_for_should_not, #initialize, #matches?
Constructor Details
This class inherits a constructor from LogicalAuthz::Matcher::Authorized
Instance Method Details
#check_authorization_flag ⇒ Object
51 52 53 54 55 |
# File 'lib/logical_authz/spec_helper.rb', line 51 def return false unless @flash.has_key? :logical_authz_record return true if @flash[:logical_authz_record][:result] == false return false end |
#match_state ⇒ Object
47 48 49 |
# File 'lib/logical_authz/spec_helper.rb', line 47 def match_state "forbidden" end |