{"action":"closed","number":170,"pull_request":{"url":"https://api.github.com/repos/twilio/twilio-python/pulls/170","id":17065233,"html_url":"https://github.com/twilio/twilio-python/pull/170","diff_url":"https://github.com/twilio/twilio-python/pull/170.diff","patch_url":"https://github.com/twilio/twilio-python/pull/170.patch","issue_url":"https://api.github.com/repos/twilio/twilio-python/issues/170","number":170,"state":"closed","locked":false,"title":"Add a prepend method to the verb class","user":{"login":"varunvairavan","id":1890890,"avatar_url":"https://avatars.githubusercontent.com/u/1890890?v=3","gravatar_id":"","url":"https://api.github.com/users/varunvairavan","html_url":"https://github.com/varunvairavan","followers_url":"https://api.github.com/users/varunvairavan/followers","following_url":"https://api.github.com/users/varunvairavan/following{/other_user}","gists_url":"https://api.github.com/users/varunvairavan/gists{/gist_id}","starred_url":"https://api.github.com/users/varunvairavan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunvairavan/subscriptions","organizations_url":"https://api.github.com/users/varunvairavan/orgs","repos_url":"https://api.github.com/users/varunvairavan/repos","events_url":"https://api.github.com/users/varunvairavan/events{/privacy}","received_events_url":"https://api.github.com/users/varunvairavan/received_events","type":"User","site_admin":false},"body":"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.\r\n\r\n    response = build_twiml() # returns twiml.Response object\r\n    response.prepend(Play(url=audio_url))\r\n\r\nCould 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.","created_at":"2014-06-12T16:30:19Z","updated_at":"2015-11-02T21:03:58Z","closed_at":"2015-11-02T21:03:57Z","merged_at":null,"merge_commit_sha":"2bde1f45a96232021bc94c0bfb470dfbc538dfe8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twilio/twilio-python/pulls/170/commits","review_comments_url":"https://api.github.com/repos/twilio/twilio-python/pulls/170/comments","review_comment_url":"https://api.github.com/repos/twilio/twilio-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twilio/twilio-python/issues/170/comments","statuses_url":"https://api.github.com/repos/twilio/twilio-python/statuses/c6e8f1c791d85ce32a26b6ed5fdf366da5c1a214","head":{"label":"varunvairavan:master","ref":"master","sha":"c6e8f1c791d85ce32a26b6ed5fdf366da5c1a214","user":{"login":"varunvairavan","id":1890890,"avatar_url":"https://avatars.githubusercontent.com/u/1890890?v=3","gravatar_id":"","url":"https://api.github.com/users/varunvairavan","html_url":"https://github.com/varunvairavan","followers_url":"https://api.github.com/users/varunvairavan/followers","following_url":"https://api.github.com/users/varunvairavan/following{/other_user}","gists_url":"https://api.github.com/users/varunvairavan/gists{/gist_id}","starred_url":"https://api.github.com/users/varunvairavan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunvairavan/subscriptions","organizations_url":"https://api.github.com/users/varunvairavan/orgs","repos_url":"https://api.github.com/users/varunvairavan/repos","events_url":"https://api.github.com/users/varunvairavan/events{/privacy}","received_events_url":"https://api.github.com/users/varunvairavan/received_events","type":"User","site_admin":false},"repo":{"id":20774212,"name":"twilio-python","full_name":"varunvairavan/twilio-python","owner":{"login":"varunvairavan","id":1890890,"avatar_url":"https://avatars.githubusercontent.com/u/1890890?v=3","gravatar_id":"","url":"https://api.github.com/users/varunvairavan","html_url":"https://github.com/varunvairavan","followers_url":"https://api.github.com/users/varunvairavan/followers","following_url":"https://api.github.com/users/varunvairavan/following{/other_user}","gists_url":"https://api.github.com/users/varunvairavan/gists{/gist_id}","starred_url":"https://api.github.com/users/varunvairavan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunvairavan/subscriptions","organizations_url":"https://api.github.com/users/varunvairavan/orgs","repos_url":"https://api.github.com/users/varunvairavan/repos","events_url":"https://api.github.com/users/varunvairavan/events{/privacy}","received_events_url":"https://api.github.com/users/varunvairavan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varunvairavan/twilio-python","description":"A Python module for communicating with the Twilio API and generating TwiML. Need help? Post your questions to http://getsatisfaction.com/twilio or email us at help@twilio.com","fork":true,"url":"https://api.github.com/repos/varunvairavan/twilio-python","forks_url":"https://api.github.com/repos/varunvairavan/twilio-python/forks","keys_url":"https://api.github.com/repos/varunvairavan/twilio-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varunvairavan/twilio-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varunvairavan/twilio-python/teams","hooks_url":"https://api.github.com/repos/varunvairavan/twilio-python/hooks","issue_events_url":"https://api.github.com/repos/varunvairavan/twilio-python/issues/events{/number}","events_url":"https://api.github.com/repos/varunvairavan/twilio-python/events","assignees_url":"https://api.github.com/repos/varunvairavan/twilio-python/assignees{/user}","branches_url":"https://api.github.com/repos/varunvairavan/twilio-python/branches{/branch}","tags_url":"https://api.github.com/repos/varunvairavan/twilio-python/tags","blobs_url":"https://api.github.com/repos/varunvairavan/twilio-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varunvairavan/twilio-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varunvairavan/twilio-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/varunvairavan/twilio-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varunvairavan/twilio-python/statuses/{sha}","languages_url":"https://api.github.com/repos/varunvairavan/twilio-python/languages","stargazers_url":"https://api.github.com/repos/varunvairavan/twilio-python/stargazers","contributors_url":"https://api.github.com/repos/varunvairavan/twilio-python/contributors","subscribers_url":"https://api.github.com/repos/varunvairavan/twilio-python/subscribers","subscription_url":"https://api.github.com/repos/varunvairavan/twilio-python/subscription","commits_url":"https://api.github.com/repos/varunvairavan/twilio-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/varunvairavan/twilio-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/varunvairavan/twilio-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/varunvairavan/twilio-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/varunvairavan/twilio-python/contents/{+path}","compare_url":"https://api.github.com/repos/varunvairavan/twilio-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varunvairavan/twilio-python/merges","archive_url":"https://api.github.com/repos/varunvairavan/twilio-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varunvairavan/twilio-python/downloads","issues_url":"https://api.github.com/repos/varunvairavan/twilio-python/issues{/number}","pulls_url":"https://api.github.com/repos/varunvairavan/twilio-python/pulls{/number}","milestones_url":"https://api.github.com/repos/varunvairavan/twilio-python/milestones{/number}","notifications_url":"https://api.github.com/repos/varunvairavan/twilio-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varunvairavan/twilio-python/labels{/name}","releases_url":"https://api.github.com/repos/varunvairavan/twilio-python/releases{/id}","created_at":"2014-06-12T16:13:13Z","updated_at":"2014-06-12T16:30:19Z","pushed_at":"2014-06-12T16:21:39Z","git_url":"git://github.com/varunvairavan/twilio-python.git","ssh_url":"git@github.com:varunvairavan/twilio-python.git","clone_url":"https://github.com/varunvairavan/twilio-python.git","svn_url":"https://github.com/varunvairavan/twilio-python","homepage":"http://readthedocs.org/docs/twilio-python/en/latest/","size":1563,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"twilio:master","ref":"master","sha":"2b691507d0d631fa3ad1416625a03a81ccac3567","user":{"login":"twilio","id":109142,"avatar_url":"https://avatars.githubusercontent.com/u/109142?v=3","gravatar_id":"","url":"https://api.github.com/users/twilio","html_url":"https://github.com/twilio","followers_url":"https://api.github.com/users/twilio/followers","following_url":"https://api.github.com/users/twilio/following{/other_user}","gists_url":"https://api.github.com/users/twilio/gists{/gist_id}","starred_url":"https://api.github.com/users/twilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilio/subscriptions","organizations_url":"https://api.github.com/users/twilio/orgs","repos_url":"https://api.github.com/users/twilio/repos","events_url":"https://api.github.com/users/twilio/events{/privacy}","received_events_url":"https://api.github.com/users/twilio/received_events","type":"Organization","site_admin":false},"repo":{"id":307447,"name":"twilio-python","full_name":"twilio/twilio-python","owner":{"login":"twilio","id":109142,"avatar_url":"https://avatars.githubusercontent.com/u/109142?v=3","gravatar_id":"","url":"https://api.github.com/users/twilio","html_url":"https://github.com/twilio","followers_url":"https://api.github.com/users/twilio/followers","following_url":"https://api.github.com/users/twilio/following{/other_user}","gists_url":"https://api.github.com/users/twilio/gists{/gist_id}","starred_url":"https://api.github.com/users/twilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilio/subscriptions","organizations_url":"https://api.github.com/users/twilio/orgs","repos_url":"https://api.github.com/users/twilio/repos","events_url":"https://api.github.com/users/twilio/events{/privacy}","received_events_url":"https://api.github.com/users/twilio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twilio/twilio-python","description":"A Python module for communicating with the Twilio API and generating TwiML. Need help? Post your questions to http://getsatisfaction.com/twilio or email us at help@twilio.com","fork":false,"url":"https://api.github.com/repos/twilio/twilio-python","forks_url":"https://api.github.com/repos/twilio/twilio-python/forks","keys_url":"https://api.github.com/repos/twilio/twilio-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twilio/twilio-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twilio/twilio-python/teams","hooks_url":"https://api.github.com/repos/twilio/twilio-python/hooks","issue_events_url":"https://api.github.com/repos/twilio/twilio-python/issues/events{/number}","events_url":"https://api.github.com/repos/twilio/twilio-python/events","assignees_url":"https://api.github.com/repos/twilio/twilio-python/assignees{/user}","branches_url":"https://api.github.com/repos/twilio/twilio-python/branches{/branch}","tags_url":"https://api.github.com/repos/twilio/twilio-python/tags","blobs_url":"https://api.github.com/repos/twilio/twilio-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twilio/twilio-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twilio/twilio-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/twilio/twilio-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twilio/twilio-python/statuses/{sha}","languages_url":"https://api.github.com/repos/twilio/twilio-python/languages","stargazers_url":"https://api.github.com/repos/twilio/twilio-python/stargazers","contributors_url":"https://api.github.com/repos/twilio/twilio-python/contributors","subscribers_url":"https://api.github.com/repos/twilio/twilio-python/subscribers","subscription_url":"https://api.github.com/repos/twilio/twilio-python/subscription","commits_url":"https://api.github.com/repos/twilio/twilio-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/twilio/twilio-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/twilio/twilio-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/twilio/twilio-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/twilio/twilio-python/contents/{+path}","compare_url":"https://api.github.com/repos/twilio/twilio-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twilio/twilio-python/merges","archive_url":"https://api.github.com/repos/twilio/twilio-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twilio/twilio-python/downloads","issues_url":"https://api.github.com/repos/twilio/twilio-python/issues{/number}","pulls_url":"https://api.github.com/repos/twilio/twilio-python/pulls{/number}","milestones_url":"https://api.github.com/repos/twilio/twilio-python/milestones{/number}","notifications_url":"https://api.github.com/repos/twilio/twilio-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twilio/twilio-python/labels{/name}","releases_url":"https://api.github.com/repos/twilio/twilio-python/releases{/id}","created_at":"2009-09-15T05:33:57Z","updated_at":"2015-11-02T13:16:24Z","pushed_at":"2015-11-02T21:02:50Z","git_url":"git://github.com/twilio/twilio-python.git","ssh_url":"git@github.com:twilio/twilio-python.git","clone_url":"https://github.com/twilio/twilio-python.git","svn_url":"https://github.com/twilio/twilio-python","homepage":"http://readthedocs.org/docs/twilio-python/en/latest/","size":3525,"stargazers_count":536,"watchers_count":536,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":187,"mirror_url":null,"open_issues_count":9,"forks":187,"open_issues":9,"watchers":536,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twilio/twilio-python/pulls/170"},"html":{"href":"https://github.com/twilio/twilio-python/pull/170"},"issue":{"href":"https://api.github.com/repos/twilio/twilio-python/issues/170"},"comments":{"href":"https://api.github.com/repos/twilio/twilio-python/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/twilio/twilio-python/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/twilio/twilio-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twilio/twilio-python/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/twilio/twilio-python/statuses/c6e8f1c791d85ce32a26b6ed5fdf366da5c1a214"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}