orange 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,7 @@ module Orange
|
|
60
60
|
|
61
61
|
|
62
62
|
def paid?(packet, member)
|
63
|
+
return true unless options[:spreedly_key]
|
63
64
|
unless member.is_a? model_class
|
64
65
|
member = model_class.get(member)
|
65
66
|
end
|
@@ -68,6 +69,7 @@ module Orange
|
|
68
69
|
end
|
69
70
|
|
70
71
|
def subscription_url(packet, member)
|
72
|
+
return "" unless options[:spreedly_key]
|
71
73
|
unless member.is_a? model_class
|
72
74
|
member = model_class.get(member)
|
73
75
|
end
|