lib/ctm/auth.rb in ctm-0.4.4 vs lib/ctm/auth.rb in ctm-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
module CTM
class Auth
include HTTParty
- base_uri ENV["CTM_URL"] || "api.calltrackingmetrics.com"
+ base_uri "https://#{(ENV["CTM_URL"] || "api.calltrackingmetrics.com")}"
def self.token=(token)
@token = token
end