Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a prepend method to the verb class #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

procedurallygenerated
Copy link

Lets say your code runs through a lot of scenarios and returns a Response twiml object, and you want to add a particular verb to the start of the response Twiml.

response = build_twiml() # returns twiml.Response object
response.prepend(Play(url=audio_url))

Could use it for things like play a warning saying the call is going to be recorded before the dial. You might want to conditionally add that based on the response.

@skimbrel
Copy link
Contributor

Seems like an okay idea to me. Can you add a test case or two for this?

@phalt
Copy link
Contributor

phalt commented Oct 21, 2014

@varunvairavan Hey, this looks great. Can you add some tests to cover this please? Then I can merge it in.

@carlosdp carlosdp force-pushed the master branch 3 times, most recently from 614259c to 2b69150 Compare September 23, 2015 00:21
@carlosdp
Copy link

carlosdp commented Nov 2, 2015

This is pretty old and test coverage hasn't been added. I'll close this for now, feel free to re-open with tests if someone wants this.

@carlosdp carlosdp closed this Nov 2, 2015
eq19 pushed a commit to VirtualNetworks/parser that referenced this pull request May 1, 2025
Depending on the context, the value should be 'user'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants