Skip to content

Commit b712854

Browse files
committed
Add device link/unlink example
1 parent 3d2868c commit b712854

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/kitchensink/app.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def reply_content(event, messages)
6666
when Line::Bot::Event::Beacon
6767
reply_text(event, "[BEACON]\n#{JSON.generate(event['beacon'])}")
6868

69+
when Line::Bot::Event::Things
70+
reply_text(event, "[THINGS]\n#{JSON.generate(event['things'])}")
71+
6972
else
7073
reply_text(event, "Unknown event type: #{event}")
7174
end

0 commit comments

Comments
 (0)