Skip to content
Newer
Older
100644 13 lines (8 sloc) 315 Bytes
2338059 @singpolyma Initial commit
authored
1 require 'yaml'
2
3 $: << File.dirname(__FILE__) + '/lib'
4 require 'util'
5 require 'subscribe'
6
7 $config = YAML::load_file(File.dirname(__FILE__) + '/config.yaml')
8
9 # Usage: ruby subscribe.rb TOPIC USER
10
11 # Send the subscribe call
3f5904d @singpolyma simplify subscribe script
authored
12 subscribe(ARGV[0], ($config['approot'].split('/') + ['pshb']).join('/'), $config['secret'])
Something went wrong with that request. Please try again.