lib/iron_bank/endpoint.rb in iron_bank-5.0.0 vs lib/iron_bank/endpoint.rb in iron_bank-5.0.1

- old
+ new

@@ -5,10 +5,10 @@ # class Endpoint private_class_method :new PRODUCTION = /\Arest\.zuora\.com\z/i.freeze - SERVICES = /\Aservices(\d+)\.zuora\.com(:\d+)?\z/i.freeze + SERVICES = /\A(rest)?services(\d+)\.zuora\.com(:\d+)?\z/i.freeze APISANDBOX = /\Arest.apisandbox.zuora\.com\z/i.freeze def self.base_url(domain = "") new(domain).base_url end