Class: Spree::OrderRoutingRule::LocationRanking
- Inherits:
-
Struct
- Object
- Struct
- Spree::OrderRoutingRule::LocationRanking
- Defined in:
- app/models/spree/order_routing_rule.rb
Overview
‘rank` is integer (lower = better) when the rule has an opinion, nil to abstain (the reducer skips abstaining rankings).
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#rank ⇒ Object
Returns the value of attribute rank.
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location
21 22 23 |
# File 'app/models/spree/order_routing_rule.rb', line 21 def location @location end |
#rank ⇒ Object
Returns the value of attribute rank
21 22 23 |
# File 'app/models/spree/order_routing_rule.rb', line 21 def rank @rank end |