def _handle_event(self, event):
        if event.type == 'charge.succeeded':
            from datetime import datetime
            dformat = '%b. %d, %I:%M %p'
            charge  = event.data.object.to_dict()
            created = datetime.fromtimestamp(charge['created'])
            title   = 'New Charge! (%s)' % created.strftime(dformat)
            message = "$%(amount).2f - %(description)s" % {
                'amount':       charge['amount'] / 100.,
                'description':  charge.get('description', '(no description)'),
            }
            self._notify(event.type, title, message)
        else: # Only handle charge.succeeded right now
            pass
*rpc_command* specifies rpc command to be dispatched either in plain text or in xml element format (depending on command)
dataset/ETHPy150Open michaelschade/stripe_growl/stripe_growl.py/StripeNotifier._handle_event--crossover with--dataset/ETHPy150Open osrg/ryu/ryu/contrib/ncclient/operations/retrieve.py/Dispatch.request