This file contains hidden or 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>[email protected]</email-address> | |
| <first-name>Test</first-name> |
This file contains hidden or 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 |