1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|identity] tweaking service catalog to support ruby 1.8.7

This commit is contained in:
Kyle Rames 2013-11-04 14:36:29 -06:00
parent 1c5b97b9ed
commit c8ac06e980

View file

@ -76,6 +76,7 @@ module Fog
end
def region_key(region)
return region.to_s.upcase if region.is_a? Symbol
(region.nil? || region.empty?) ? "GLOBAL" : region.to_s.upcase
end