Example #1
0
 def request(self, action, params=None, data='', headers=None, method='GET'):
     if not headers:
         headers = {}
     if not params:
         params = {}
     # Override this method to prepend the api_context
     return ConnectionKey.request(self, self.api_context + action,
                                  params, data, headers, method)
Example #2
0
 def request(self, action, params=None, data='', headers=None, method='GET'):
     if not headers:
         headers = {}
     if not params:
         params = {}
     # Override this method to prepend the api_context
     return ConnectionKey.request(self, self.api_context + action,
                                  params, data, headers, method)
Example #3
0
 def __init__(self, key, secure=True):
     # override __init__ so that we can set secure of False for testing
     ConnectionKey.__init__(self, key, secure)
Example #4
0
 def __init__(self, key, secure=True):
     # override __init__ so that we can set secure of False for testing
     ConnectionKey.__init__(self,key,secure)