Skip to content

Commit cb9e14c

Browse files
committed
refactor
1 parent efc81cc commit cb9e14c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

examples/kitchensink/app.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -258,25 +258,25 @@ def handle_message(event)
258258
})
259259

260260
when 'imagemap video'
261-
video_url = File.join(settings.app_base_url.to_s, "imagemap/video.mp4")
262-
preview_url = File.join(settings.app_base_url.to_s, "imagemap/preview.jpg")
261+
video_url = File.join(settings.app_base_url.to_s, 'imagemap/video.mp4')
262+
preview_url = File.join(settings.app_base_url.to_s, 'imagemap/preview.jpg')
263263
reply_content(event, {
264264
type: 'imagemap',
265265
baseUrl: THUMBNAIL_URL,
266266
altText: 'Imagemap alt text',
267267
baseSize: { width: 1040, height: 1040 },
268268
video: {
269-
"originalContentUrl": video_url,
270-
"previewImageUrl": preview_url,
271-
"area": {
272-
"x": 0,
273-
"y": 0,
274-
"width": 520,
275-
"height": 520,
269+
originalContentUrl: video_url,
270+
previewImageUrl: preview_url,
271+
area: {
272+
x: 0,
273+
y: 0,
274+
width: 520,
275+
height: 520,
276276
},
277277
external_link: {
278-
linkUri: "https://line.me",
279-
label: "LINE",
278+
linkUri: 'https://line.me',
279+
label: 'LINE',
280280
},
281281
},
282282
actions: [

0 commit comments

Comments
 (0)