Skip to content

Commit

Permalink
Merge branch 'develop' into feature/issue-6-support-play-verb
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Giesler committed Apr 10, 2015
2 parents 4c85bb7 + 53f1450 commit 76e9fc3
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions vumi_twilio_api/twilio_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,8 @@ class Error(Response):
name = 'Error'

def __init__(self, error_type, error_message):
self._data = {
'error_type': error_type,
'error_message': error_message,
}
super(Error, self).__init__(
error_type=error_type, error_message=error_message)

@classmethod
def from_exception(cls, exception):
Expand All @@ -297,11 +295,8 @@ class Version(Response):
name = 'Version'

def __init__(self, name, uri, **kwargs):
self._data = {
'Name': name,
'Uri': uri,
'SubresourceUris': kwargs,
}
super(Version, self).__init__(
Name=name, Uri=uri, SubresourceUris=kwargs)


class Call(Response):
Expand Down

0 comments on commit 76e9fc3

Please sign in to comment.