Class: RailsDrips::PolicyDecision::Decision

Inherits:
Struct
  • Object
show all
Defined in:
app/services/rails_drips/policy_decision.rb

Instance Attribute Summary collapse

Instance Attribute Details

#allowedObject

Returns the value of attribute allowed

Returns:

  • (Object)

    the current value of allowed



5
6
7
# File 'app/services/rails_drips/policy_decision.rb', line 5

def allowed
  @allowed
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



5
6
7
# File 'app/services/rails_drips/policy_decision.rb', line 5

def reason
  @reason
end