gnip / gnip-python

Python library for utilizing Gnip services.

This URL has Read+Write access

gnip-python / gnip / response.py
100644 10 lines (8 sloc) 0.261 kb
1
2
3
4
5
6
7
8
9
10
class Response(object):
    """Gnip server response object.
code: integer representing the response code
result: string representing the response
 
"""
    def __init__(self, code, result):
        self.code = code
        self.result = result