def __init__(self, publish_key, subscribe_key, secret_key=False, ssl_on=False, origin='pubsub.pubnub.com', pres_uuid=None):
    "\n        #**\n        #* Pubnub\n        #*\n        #* Init the Pubnub Client API\n        #*\n        #* @param string publish_key required key to send messages.\n        #* @param string subscribe_key required key to receive messages.\n        #* @param string secret_key optional key to sign messages.\n        #* @param boolean ssl required for 2048 bit encrypted messages.\n        #* @param string origin PUBNUB Server Origin.\n        #* @param string pres_uuid optional identifier for presence (auto-generated if not supplied)\n        #**\n\n        ## Initiat Class\n        pubnub = Pubnub( 'PUBLISH-KEY', 'SUBSCRIBE-KEY', 'SECRET-KEY', False )\n\n        "
    self.origin = origin
    self.limit = 1800
    self.publish_key = publish_key
    self.subscribe_key = subscribe_key
    self.secret_key = secret_key
    self.ssl = ssl_on
    if self.ssl:
        self.origin = ('https://' + self.origin)
    else:
        self.origin = ('http://' + self.origin)
    self.uuid = (pres_uuid or str(uuid.uuid4()))
    if (not isinstance(self.uuid, basestring)):
        raise AttributeError('pres_uuid must be a string')
#**
#* Pubnub
#*
#* Init the Pubnub Client API
#*
#* @param string publish_key required key to send messages.
#* @param string subscribe_key required key to receive messages.
#* @param string secret_key optional key to sign messages.
#* @param boolean ssl required for 2048 bit encrypted messages.
#* @param string origin PUBNUB Server Origin.
#* @param string pres_uuid optional identifier for presence (auto-generated if not supplied)
#**

## Initiat Class
pubnub = Pubnub( 'PUBLISH-KEY', 'SUBSCRIBE-KEY', 'SECRET-KEY', False )
def __init__(self, publish_key, subscribe_key, secret_key=False, ssl_on=False, origin='pubsub.pubnub.com', pres_uuid=None):
    "\n        #**\n        #* Pubnub\n        #*\n        #* Init the Pubnub Client API\n        #*\n        #* @param string publish_key required key to send messages.\n        #* @param string subscribe_key required key to receive messages.\n        #* @param string secret_key optional key to sign messages.\n        #* @param boolean ssl required for 2048 bit encrypted messages.\n        #* @param string origin PUBNUB Server Origin.\n        #* @param string pres_uuid optional identifier for presence (auto-generated if not supplied)\n        #**\n\n        ## Initiat Class\n        pubnub = Pubnub( 'PUBLISH-KEY', 'SUBSCRIBE-KEY', 'SECRET-KEY', False )\n\n        "
    self.origin = origin
    self.limit = 1800
    self.publish_key = publish_key
    self.subscribe_key = subscribe_key
    self.secret_key = secret_key
    self.ssl = ssl_on
    if self.ssl:
        self.origin = ('https://' + self.origin)
    else:
        self.origin = ('http://' + self.origin)
    self.uuid = (pres_uuid or str(uuid.uuid4()))
    if (not isinstance(self.uuid, basestring)):
        raise AttributeError('pres_uuid must be a string')