lib/onering/cli.rb in onering-client-0.1.1 vs lib/onering/cli.rb in onering-client-0.1.2

- old
+ new

@@ -9,16 +9,17 @@ @_args = cliargs return Onering::API.new({ 'autoconnect' => cliargs[:autoconnect], 'config' => { - 'url' => cliargs[:url], - 'path' => cliargs[:path], - 'source' => cliargs[:source], - 'params' => Hash[(cliargs[:param] || []).collect{|i| i.split('=',2) }], + 'url' => cliargs[:url], + 'path' => cliargs[:path], + 'source' => cliargs[:source], + 'nosslverify' => cliargs[:nosslverify], + 'params' => Hash[(cliargs[:param] || []).collect{|i| i.split('=',2) }], 'authentication' => { - 'type' => (cliargs[:apikey_given] ? :token : nil), - 'keyfile' => (cliargs[:apikey] || cliargs[:sslkey]) + 'type' => (cliargs[:apikey_given] ? :token : nil), + 'keyfile' => (cliargs[:apikey] || cliargs[:sslkey]) }.compact }.compact }.compact) end