File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
promotions/app/models/solidus_promotions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def preload_relations
8989 # @see LineItemLevelCondition
9090 # @see LineItemApplicableOrderLevelCondition
9191 def applicable? ( _promotable )
92- raise NotImplementedError , "applicable? should be implemented in a sub-class of SolidusPromotions::Rule "
92+ raise NotImplementedError , "applicable? should be implemented in a sub-class of SolidusPromotions::Condition "
9393 end
9494
9595 # Determines if the promotable object meets this condition's eligibility requirements.
@@ -122,11 +122,11 @@ def applicable?(_promotable)
122122 #
123123 # @see #eligibility_errors
124124 def eligible? ( _promotable , _options = { } )
125- raise NotImplementedError , "eligible? should be implemented in a sub-class of SolidusPromotions::Rule "
125+ raise NotImplementedError , "eligible? should be implemented in a sub-class of SolidusPromotions::Condition "
126126 end
127127
128128 def level
129- raise NotImplementedError , "level should be implemented in a sub-class of SolidusPromotions::Rule "
129+ raise NotImplementedError , "level should be implemented in a sub-class of SolidusPromotions::Condition "
130130 end
131131
132132 # Returns an errors object for tracking eligibility failures.
You can’t perform that action at this time.
0 commit comments