class Bobot::Event::Referral::Referral
Public Class Methods
new(referral)
click to toggle source
# File lib/bobot/events/referral.rb, line 7 def initialize(referral) @referral = referral end
Public Instance Methods
ad_id()
click to toggle source
# File lib/bobot/events/referral.rb, line 23 def ad_id @referral['ad_id'] if @referral.key?('ad_id') end
ref()
click to toggle source
# File lib/bobot/events/referral.rb, line 11 def ref @referral['ref'] end
source()
click to toggle source
# File lib/bobot/events/referral.rb, line 15 def source @referral['source'] end
type()
click to toggle source
# File lib/bobot/events/referral.rb, line 19 def type @referral['type'] end