referthis 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/referral.rb +1 -1
- metadata +1 -1
data/lib/referral.rb
CHANGED
@@ -40,7 +40,7 @@ class Referral < ActiveRecord::Base
|
|
40
40
|
end
|
41
41
|
threads.each {|thread| thread.join}
|
42
42
|
end
|
43
|
-
def self.
|
43
|
+
def self.clicked_through_rate(email=false, sms=false, overall=true)
|
44
44
|
if email || sms
|
45
45
|
referrals = Referral.all
|
46
46
|
if referrals.any?
|