lib/sportradar/api/content.rb in sportradar-api-0.11.3 vs lib/sportradar/api/content.rb in sportradar-api-0.11.4
- old
+ new
@@ -42,9 +42,13 @@
def request_url(path)
"/content-#{sport}-#{access_level}#{version}/#{path}"
end
+ def content_format
+ 'json'
+ end
+
def api_key
if access_level == 'p'
Sportradar::Api.api_key_params("content_#{sport}", "production")
else
Sportradar::Api.api_key_params("content_#{sport}")