Skip to content

Commit

Permalink
#9 fix location of BunqResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
dnl-blkv committed Aug 9, 2017
1 parent 4e2bcb7 commit 2c945ae
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 203 deletions.
32 changes: 32 additions & 0 deletions bunq/sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,35 @@ def headers(self):
"""

return self._headers


class BunqResponse(object):
"""
:type _value: T
:type _headers: dict[str, str]
"""

def __init__(self, value, headers):
"""
:type value: T
:type headers: dict[str, str]
"""

self._value = value
self._headers = headers

@property
def value(self):
"""
:rtype: T
"""

return self._value

@property
def headers(self):
"""
:rtype: dict[str, str]
"""

return self._headers
Loading

0 comments on commit 2c945ae

Please sign in to comment.