highwinds-api 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,13 +20,10 @@ module HighwindsAPI
20
20
  'Accept' => 'application/xml' },
21
21
  :basic_auth => HighwindsAPI.credentials }
22
22
  res = nil
23
- if path.is_a? Array
24
- path.each do |url|
25
- res = self.delete("/#{host_hash}/cds/#{url.chomp('*')}", options)
26
- end
27
- else
28
- res = self.delete("/#{host_hash}/cds/#{path.chomp('*')}", options)
29
- end
23
+ path = [*path]
24
+ path.each do |url|
25
+ res = self.delete("/#{host_hash}/cds/#{url.chomp('*')}", options)
26
+ end
30
27
  res
31
28
  end
32
29
 
@@ -1,5 +1,5 @@
1
1
  module Highwinds
2
2
  module Api
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highwinds-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: