Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Twilioの簡単な説明
Search
Yusuke AONO
August 06, 2013
Programming
1
66
Twilioの簡単な説明
Yusuke AONO
August 06, 2013
Tweet
Share
More Decks by Yusuke AONO
See All by Yusuke AONO
Webアプリのテスト(Atrae社内勉強会)
ysk1031
1
100
Golangの紹介(基礎)
ysk1031
0
170
Other Decks in Programming
See All in Programming
カラム追加で増えるActiveRecordのメモリサイズ イメージできますか?
asayamakk
4
2k
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
Jakarta EE meets AI
ivargrimstad
0
230
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.2k
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
100
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
740
as(型アサーション)を書く前にできること
marokanatani
2
300
現場で役立つモデリング 超入門
masuda220
PRO
15
3.1k
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
470
RubyLSPのマルチバイト文字対応
notfounds
0
100
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
140
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
490
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Being A Developer After 40
akosma
86
590k
Documentation Writing (for coders)
carmenintech
65
4.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Building Adaptive Systems
keathley
38
2.3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
505
140k
Transcript
5XJMJPΛ৮ͬͯΈͨ 138݄6Ր༵
5XJMJPͱʁ wి4.4ૹड৴ػೳΛఏڙ͢Δ"1* wΞϓϦͷػೳʹɺΧϯλϯʹిɾ 4.4ΛΈࠐΊΔ wΞϝϦΧͷ5XJMJP͕ࣾ։ൃɾఏڙ wສਓҎ্ͷ։ൃऀ͕ར༻ 138݄6Ր༵
ຊͰ݄͔Βఏڙ։࢝ 138݄6Ր༵
5XJMJPར༻ࣄྫ w ΞϝϦΧେ౷ྖબڍ w %SPQCPY w )VMV w 4BMFTGPSDF w
"JSCOC w 4BOTBO w ϚφϘ 138݄6Ր༵
ϝϦοτ wػೳ๛ͳ"1* w ৄࡉυΩϡϝϯτࢀরʢIUUQ KQUXJMJPDPNEPDTʣ wଟ͘ͷݴޠͰར༻Մೳ w 1)1 3VCZ 1ZUIPO
+BWB /PEFKT 4DBMBFUD wຊޠ༻Մೳ 138݄6Ր༵
ຊ൛ͷ੍ݶ wຊͷి൪߸͔Βͩͱ4.4ػೳ͕ ͑ͳ͍ʢࠓͷͱ͜Ζʣ wΞϝϦΧͷ൪߸औಘ͢Ε0, 138݄6Ր༵
ྉۚ w ແྉͰτϥΠΞϧΞΧϯτऔಘՄೳ w ి൪߸ʢʣ͕ͭ༻Մೳʹ w τϥΠΞϧظؒجຊແྉ w ར༻ྉ͕ۚҰఆֹΛ͑ΔͱτϥΠΞϧऴྃ w
ిʢ͋ͨΓʣɿൃ৴dԁɹண৴dԁ w 4.4ʢ௨͋ͨΓʣɿൃ৴dԁɹண৴ԁ w ి൪߸ར༻ྉɿԁֹ݄ w IUUQUXJMJPLEEJXFCDPNQSJDF 138݄6Ր༵
ࠓճͬͯΈͨ͜ͱ w5XJMJPͷ௨ػೳΛར༻ͨ͠ɺ؆୯ͳ 3BJMTΞϓϦΛ࡞ͬͯΈ·ͨ͠ w ΞΧϯτొ࣌ͷຊਓ֬ೝͱ͔ʹ͑ͦ ͏ w ࠷ॳ4.4ΛͬͨೝূΛ࡞Ζ͏ͱࢥͬͨ ͕ɺ༗ྉΞΧϯτҠߦ͕ඞཁͳͷͰݟૹ Γ·ͨ͢
138݄6Ր༵
։ൃͷ४උ w5XJMJPͷτϥΠΞϧΞΧϯτ࡞ w ి൪߸ "DPVOU4*% "VUI5PLFO͕ൃߦ ͞ΕΔ w͋ͱ։ൃڥΛ༻ҙ͢Δ w 3VCZ
3BJMT )FSPLVʹσϓϩΠ 138݄6Ր༵
3BJMTͰͷॲཧ ೖྗϑΥʔϜͷσʔλΛอଘ ೝূίʔυ࡞ɺอଘ ೖྗͨ͠൪߸ʹిΛ͔͚ɺೝূίʔ υΛ͑Δ ೝূίʔυೖྗɺҰக͢Δ͔ݕূ
138݄6Ր༵
&OUSZ.PEFM wOBNF FNBJM NPCJMF@OVNCFS WFSJpDBUJPO@DPEF WFSJpFEͱ͍͏Χ ϥϜΛ࣋ͭςʔϒϧ wBUUS@BDDFTTPS WFSJpDBUJPO@DPEF@DPOpSNBUJPO
138݄6Ր༵
138݄6Ր༵
HFNUXJMJPSVCZ w3VCZͰͷ5XJMJP"1*ར༻Λ؆୯ʹͯ͠ ͘ΕΔHFN wIUUQTHJUIVCDPNUXJMJPUXJMJP SVCZ 138݄6Ր༵
# ి @call = @client.account.calls.create( :from => '+14159341234',
:to => '+18004567890', :url => 'http://example.com/call-‐handler' ) # SMS @client.account.sms.messages.create( :from => '+14159341234', :to => '+16105557069', :body => 'Hey there!' ) 138݄6Ր༵
Ͳ͏͍͏Έʁ wి෦ͷίʔυͰى͖͍ͯΔ͜ͱ w 63-ѼʹϦΫΤετૹ৴ w 63-Ͱ5XJ.-ͷ໋ྩΛಡΈࠐΉ w ॻ͍ͯ͋Δ͜ͱΛ࣮ߦ 138݄6Ր༵
5XJ.-ͱ <?xml version="1.0" encoding="UTF-‐8"?> <Response> <Say voice="woman">Please
leave a message after the tone.</Say> <Record maxLength="20" /> </Response> ͜Μͳײ͡ͷ9.-ϑΝΠϧɻ ͜ͷྫͰɺঁੑͷͰ͍ΞφϯεΛͨ͠ޙɺ ൃ৴ऀͷΛ࠷ඵԻ͠·͢ IUUQKQUXJMJPDPNEPDTBQJUXJNM 138݄6Ր༵
5XJ.-ͷੜ؆୯ response = Twilio::TwiML::Response.new do |r| r.Say 'hello there',
:voice => 'woman' end <?xml version="1.0" encoding="UTF-‐8"?> <Response> <Say voice="woman">hello there</Say> </Response> ˣ 138݄6Ր༵
5XJMJP৮ͬͯΈͨײ w͘͢͝؆୯ʹిػೳΛΈࠐΊΔ wྫ͑ΧελϚʔαϙʔτͷίʔϧηϯ λʔࣗલͰ࣮Ͱ͖ͦ͏ ؆୯ͳ'"2ϨϕϧͷճͳΒࣗಈԽ Մೳ͔͠Εͳ͍ 138݄6Ր༵
wࠓճ࡞ͬͨ؆୯ͳΞϓϦέʔγϣϯ HJUIVCʹ͓͖·ͨ͠ wIUUQTHJUIVCDPNZTL UXJMJPTBNQMF 138݄6Ր༵