lib/akamai_ccu/cli.rb in akamai_ccu-1.3.2 vs lib/akamai_ccu/cli.rb in akamai_ccu-1.3.3

- old
+ new

@@ -17,10 +17,10 @@ @network = Endpoint::Network::STAGING end def call parser.parse!(@args) - return @logger.warn("specify contents to purge either by cp codes or by urls") unless @objects + return @logger.warn("specify contents to purge by bulk, CP codes or urls") unless @objects return @logger.warn("specify path to the secret file either by edgerc or by txt") unless @secret return @logger.warn("specified secret file does not exist") unless File.exist?(@secret) wrapper = @wrapper_klass.new(secret: secret, endpoint: endpoint, headers: Array(@headers)) @logger.info wrapper.call(@objects).to_s end