Class: JCR::Evaluation

Inherits:
Object
  • Object
show all
Defined in:
lib/jcr/evaluate_rules.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success, reason) ⇒ Evaluation

Returns a new instance of Evaluation.



50
51
52
53
# File 'lib/jcr/evaluate_rules.rb', line 50

def initialize success, reason
  @success = success
  @reason = reason
end

Instance Attribute Details

#member_foundObject

Returns the value of attribute member_found.



49
50
51
# File 'lib/jcr/evaluate_rules.rb', line 49

def member_found
  @member_found
end

#reasonObject

Returns the value of attribute reason.



49
50
51
# File 'lib/jcr/evaluate_rules.rb', line 49

def reason
  @reason
end

#successObject

Returns the value of attribute success.



49
50
51
# File 'lib/jcr/evaluate_rules.rb', line 49

def success
  @success
end