Sha256: 2a6d6e51e658e105ca95774659ea130baf8720f60322be3aae7de615607ce1e9
Contents?: true
Size: 423 Bytes
Versions: 13
Compression:
Stored size: 423 Bytes
Contents
#!/usr/bin/env ruby $: << File.join( File.dirname(__FILE__), '..', 'lib' ) require 'ns_connector' require 'pp' unless ARGV.size == 2 then warn( "Usage: #{$0}"\ "<configuration as ruby code> "\ "<arguments as ruby code>" ) warn('e.g.') warn( "#{$0}"\ '"{:account_id => ...}" "{:action => ...}"' ) exit 1 end NSConnector::Config.set_config!(eval(ARGV[0])) pp NSConnector::Restlet.execute!(eval(ARGV[1]))
Version data entries
13 entries across 13 versions & 1 rubygems