Class: Line::Bot::Event::Beacon
- Inherits:
-
Base
- Object
- Base
- Line::Bot::Event::Beacon
show all
- Defined in:
- lib/line/bot/event/beacon.rb
Instance Method Summary
collapse
Methods inherited from Base
#[], #initialize
Instance Method Details
#deviceMessage ⇒ Object
27
28
29
|
# File 'lib/line/bot/event/beacon.rb', line 27
def deviceMessage
[@src['beacon']['dm']].pack('H*')
end
|
#hwid ⇒ Object
23
24
25
|
# File 'lib/line/bot/event/beacon.rb', line 23
def hwid
@src['beacon']['hwid']
end
|
#type ⇒ Object
19
20
21
|
# File 'lib/line/bot/event/beacon.rb', line 19
def type
@src['beacon']['type']
end
|