Class: Spree::ShippingMatrixRule
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spree::ShippingMatrixRule
- Defined in:
- app/models/spree/shipping_matrix_rule.rb
Instance Method Summary collapse
Instance Method Details
#matches?(info) ⇒ Boolean
17 18 19 |
# File 'app/models/spree/shipping_matrix_rule.rb', line 17 def matches?(info) matches_role?(info) && matches_line_item_total?(info) end |