Skip to content

class Athena::Security::Authorization::Voter::Vote
inherits Reference #

The vote of a voter, which may be explained by reasons.

Methods#

#add_reason(reason : String) : Nil#

Adds the provided reason explaining the vote.

View source

#reasons : Array(String)#

The reasons explaining the vote.

View source

#result : ASEC::Authorization::Voter::Access#

The vote of the voter.

View source

#result=(result : ASEC::Authorization::Voter::Access)#

The vote of the voter.

View source

#voter : String#

The name of the type of the voter that voted.

View source

#voter=(voter : String)#

The name of the type of the voter that voted.

View source