Skip to content

Instantly share code, notes, and snippets.

View raykrueger's full-sized avatar

Ray Krueger raykrueger

  • Chicago, IL, USA
View GitHub Profile
@raykrueger
raykrueger / gist:1592087
Created January 11, 2012 00:10 — forked from waustin/gist:1591097
SIGNAL HQ API List Creationg Sample
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>
require 'logger'
require 'openssl'
class UcellGateway
#dunno what this is, but it's yours :)
include MessageFilter
def initialize
@logger = Logger.new