class Line::Bot::Event::Beacon
Event
object for when a user enters the range of a LINE Beacon
.
developers.line.biz/en/reference/messaging-api/#beacon-event
Public Instance Methods
deviceMessage()
click to toggle source
@return [String]
# File lib/line/bot/event/beacon.rb, line 33 def deviceMessage [@src['beacon']['dm']].pack('H*') end
hwid()
click to toggle source
@return [String]
# File lib/line/bot/event/beacon.rb, line 28 def hwid @src['beacon']['hwid'] end
type()
click to toggle source
@return [String]
# File lib/line/bot/event/beacon.rb, line 23 def type @src['beacon']['type'] end