Sha256: a3f7e1f35593efdfa4a9bdeab207f0938f2248b8c4217ca4234700438777fb38
Contents?: true
Size: 639 Bytes
Versions: 7
Compression:
Stored size: 639 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..') require 'connfu' require 'examples/provisioning/setup' ARGV.length < 3 and ( puts "Please include as argument the api_key, the channel name to be used and the RSS URL" exit ) api_key = ARGV.shift channel_name = ARGV.shift uri = ARGV.shift application = Connfu::Provisioning::Application.new(api_key, CONNFU_ENDPOINT) begin puts application.create_rss_channel(channel_name, uri) rescue Exception => ex puts "There was an error: #{ex.inspect} " puts "Exception message: #{ex.message}" end
Version data entries
7 entries across 7 versions & 1 rubygems