This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from pprint import pprint | |
input_data = """<?xml version="1.0" encoding="UTF-8"?><subscription> | |
<subscription-type>EMAIL</subscription-type> | |
<source-keyword>CRAZY_COFFEE</source-keyword> | |
<user> | |
<email-address>user1@example.com</email-address> | |
<first-name>Test</first-name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'logger' | |
require 'openssl' | |
class UcellGateway | |
#dunno what this is, but it's yours :) | |
include MessageFilter | |
def initialize | |
@logger = Logger.new |