class Bobot::Event::Postback

Public Instance Methods

payload() click to toggle source
# File lib/bobot/events/postback.rb, line 6
def payload
  @messaging['postback']['payload']
end
referral() click to toggle source
# File lib/bobot/events/postback.rb, line 14
def referral
  return if @messaging['postback']['referral'].nil?
  @referral ||= Referral::Referral.new(@messaging['postback']['referral'])
end
title() click to toggle source
# File lib/bobot/events/postback.rb, line 10
def title
  @messaging['postback']['title']
end