summaryrefslogtreecommitdiff
path: root/app/models/solidus_subscriptions/subscription_order_promotion_rule.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/solidus_subscriptions/subscription_order_promotion_rule.rb')
-rw-r--r--app/models/solidus_subscriptions/subscription_order_promotion_rule.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/solidus_subscriptions/subscription_order_promotion_rule.rb b/app/models/solidus_subscriptions/subscription_order_promotion_rule.rb
index 6d383da..b78b96a 100644
--- a/app/models/solidus_subscriptions/subscription_order_promotion_rule.rb
+++ b/app/models/solidus_subscriptions/subscription_order_promotion_rule.rb
@@ -1,5 +1,5 @@
module SolidusSubscriptions
- class SubscriptionOrderPromotionRule < Spree::PromotionRule
+ class SubscriptionOrderPromotionRule < ::Spree::PromotionRule
# Promotion can be applied to an entire order. Will only be true
# for Spree::Order
#
@@ -8,7 +8,7 @@ module SolidusSubscriptions
#
# @return [Boolean]
def applicable?(promotable)
- promotable.is_a? Spree::Order
+ promotable.is_a? ::Spree::Order
end
# An order is eligible if it fulfills a subscription Installment. Will only