class Line::Bot::Event::Things

LINE Things API related events.

Public Instance Methods

device_id() click to toggle source
# File lib/line/bot/event/things.rb, line 37
def device_id
  @src['things']['deviceId']
end
type() click to toggle source
# File lib/line/bot/event/things.rb, line 31
def type
  ThingsType.const_get(Util.camelize(@src['things']['type']))
rescue NameError
  ThingsType::Unsupport
end