Sha256: bdaa14612f6fb0e5255af32458d3930d03ca79d6b093fcdbe1a8d502068b34e7

Contents?: true

Size: 570 Bytes

Versions: 7

Compression:

Stored size: 570 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')

$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')

require 'connfu'

require 'examples/provisioning/setup'

ARGV.length < 2 and
(
  puts "Please include as argument the api_key and channel to be used"
  exit
)

api_key = ARGV.shift
channel = ARGV.shift


application = Connfu::Provisioning::Application.new(api_key, CONNFU_ENDPOINT)

begin
  puts application.delete_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

Version Path
connfu-client-0.1.6 examples/provisioning/rss/delete.rb
connfu-client-0.1.5 examples/provisioning/rss/delete.rb
connfu-client-0.1.4 examples/provisioning/rss/delete.rb
connfu-client-0.1.3 examples/provisioning/rss/delete.rb
connfu-client-0.1.2 examples/provisioning/rss/delete.rb
connfu-client-0.1.1 examples/provisioning/rss/delete.rb
connfu-client-0.1 examples/provisioning/rss/delete.rb