(self, from_, to, context)
return {
            'src': from_,
            'dst': to,
            'text': context.get('body', ''),
            'method': context.get('method', 'GET')
        }
Prepare plivo message with necessary information.
Prepare plivo message with necessary information.
Prepare plivo message with necessary information .
def _prepare_sms_message(self, from_, to, context):
        """Prepare plivo message with necessary information.
        """
        return {
            'src': from_,
            'dst': to,
            'text': context.get('body', ''),
            'method': context.get('method', 'GET')
        }
def _prepare_sms_message ( self , from_ , to , context ) : return { 'src' : from_ , 'dst' : to , 'text' : context . get ( 'body' , '' ) , 'method' : context . get ( 'method' , 'GET' ) }