lib/desk/api.rb in desk-1.0.8 vs lib/desk/api.rb in desk-1.0.9
- old
+ new
@@ -16,10 +16,10 @@
send("#{key}=", options[key])
end
end
def endpoint
- "https://#{self.subdomain}.desk.com"+api_path
+ "https://#{self.subdomain}.#{self.domain}"+api_path
end
def api_path
"/api/#{self.version}/"
end