Sha256: 2e1ca520df1d5b50760d86c2e4a869d36ed7fa533fe84266d437ec9e958510df
Contents?: true
Size: 614 Bytes
Versions: 7
Compression:
Stored size: 614 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 and the new RSS URL to be used" exit ) api_key = ARGV.shift channel = ARGV.shift uri = ARGV.shift application = Connfu::Provisioning::Application.new(api_key, CONNFU_ENDPOINT) begin puts application.update_rss_channel(channel, uri) rescue Exception => ex puts "There was an error:" puts "Exception message: #{ex.message}" end
Version data entries
7 entries across 7 versions & 1 rubygems