Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 2a37f99

Browse files
committed
Undo changes to irrelevant files
Signed-off-by: Maria Bermudez <[email protected]>
1 parent ab17fc8 commit 2a37f99

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

rest/voice/generate-twiml-play/twiml-play.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
// this line loads the library
55
require('/path/to/twilio-php/Services/Twilio.php');
6-
use Services_Twilio_TwiML;
6+
use Services_Twilio_Twiml;
77

8-
$response = new Services_Twilio_TwiML;
8+
$response = new Services_Twilio_Twiml;
99
$response->say("Hello. It's me. I've been wondering if after this guide you'd like to meet.");
1010
$response->play("http://howtodocs.s3.amazonaws.com/ahoyhoy.mp3");
1111
print $response;

rest/voice/generate-twiml-say/generate-twiml-say.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// this line loads the library
55
require('/path/to/twilio-php/Services/Twilio.php');
6-
use Services_Twilio_TwiML;
6+
use Services_Twilio_Twiml;
77

8-
$response = new Services_Twilio_TwiML;
8+
$response = new Services_Twilio_Twiml;
99
$response->say("Hello from your pals at Twilio! Have fun.");
1010
print $response;

tools/automation/twiml-generator/generator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
# coding: utf-8
3-
from twiml_generator import TwiMLCodeGenerator, load_language_spec
3+
from twiml_generator import TwimlCodeGenerator, load_language_spec
44
from pathlib import Path
55
from lxml import etree
66

@@ -63,7 +63,7 @@ def generate_code_sample_filepath(twiml_filepath, language):
6363
twiml_filepath, language
6464
)
6565
print("{} -> {}".format(twiml_filepath, code_filepath), end='')
66-
code_generator = TwiMLCodeGenerator(
66+
code_generator = TwimlCodeGenerator(
6767
twiml_filepath,
6868
code_filepath=code_filepath,
6969
lib_filepath=Path(__file__).parent / 'lib',
@@ -82,9 +82,9 @@ def generate_code_sample_filepath(twiml_filepath, language):
8282
if args.test:
8383
result, stdout, input_tree, output_tree = code_generator.verify(
8484
)
85-
if result == TwiMLCodeGenerator.VERIFY_SUCCESS:
85+
if result == TwimlCodeGenerator.VERIFY_SUCCESS:
8686
print(' \x1B[92m[passed]\x1B[39m')
87-
elif result == TwiMLCodeGenerator.VERIFY_FAILURE:
87+
elif result == TwimlCodeGenerator.VERIFY_FAILURE:
8888
print(' \x1B[91m[failed]\x1B[39m')
8989
print('INPUT:\n' + input_tree)
9090
print('OUTPUT:\n' + output_tree)

0 commit comments

Comments
 (0)