lib/sportradar/api/config.rb in sportradar-api-0.11.4 vs lib/sportradar/api/config.rb in sportradar-api-0.11.5

- old
+ new

@@ -18,16 +18,16 @@ def initialize @api_key = ENV['API_KEY'] @api_timeout = ENV.fetch('SPORTRADAR_API_TIMEOUT', 15 ) @use_ssl = ENV.fetch('SPORTRADAR_API_USE_SSL', true) - @format = ENV.fetch("SPORTRADAR_API_FORMAT", :json).to_s + @format = ENV.fetch("SPORTRADAR_API_FORMAT", :xml).to_s end def reset @api_timeout = ENV.fetch('SPORTRADAR_API_TIMEOUT', 15 ) @use_ssl = ENV.fetch('SPORTRADAR_API_USE_SSL', true) - @format = ENV.fetch("SPORTRADAR_API_FORMAT", :json).to_s + @format = ENV.fetch("SPORTRADAR_API_FORMAT", :xml).to_s end end end end