Sha256: 6730adb616f4e8a93bc213a41f24e7dc4108a68ae621aba277e9a71c9dd80d46
Contents?: true
Size: 648 Bytes
Versions: 7
Compression:
Stored size: 648 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..') require 'connfu' require 'examples/provisioning/setup' ARGV.length < 1 and ( puts "Please include as argument the api_key" exit ) api_key = ARGV.shift channel = if ARGV.length < 1 "" else ARGV.shift end application = Connfu::Provisioning::Application.new(api_key, CONNFU_ENDPOINT) begin puts application.get_rss_channel(channel) rescue Exception => ex puts "There was an error:" puts "Exception message: #{ex.message}" end
Version data entries
7 entries across 7 versions & 1 rubygems