Sha256: 9af2027a6fe98a30c6797eab49098c0b7c92acca2bb7ac69a6d4f12badff48ec
Contents?: true
Size: 436 Bytes
Versions: 13
Compression:
Stored size: 436 Bytes
Contents
module DPL class Provider class BluemixCloudFoundry < CloudFoundry REGIONS = Hash.new {"api.ng.bluemix.net"}.update( "eu-gb" => "api.eu-gb.bluemix.net", "au-syd" => "api.au-syd.bluemix.net" ) def set_api region = options[:region] || "ng" options[:api] = options[:api] || REGIONS[region] end def check_auth set_api super end end end end
Version data entries
13 entries across 13 versions & 1 rubygems