Class: Line::Bot::Event::Things Deprecated
- Defined in:
- lib/line/bot/v1/event/things.rb
Overview
Deprecated.
This is deprecated. Please use V2::Webhook::ThingsEvent instead.
LINE Things API related events.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Line::Bot::Event::Base
Instance Method Details
#device_id ⇒ Object
43 44 45 |
# File 'lib/line/bot/v1/event/things.rb', line 43 def device_id @src['things']['deviceId'] end |
#type ⇒ Object
37 38 39 40 41 |
# File 'lib/line/bot/v1/event/things.rb', line 37 def type ThingsType.const_get(Util.camelize(@src['things']['type'])) rescue NameError ThingsType::Unsupport end |