lib/sportradar/api/error.rb in sportradar-api-0.1.38 vs lib/sportradar/api/error.rb in sportradar-api-0.9.0

- old
+ new

@@ -13,14 +13,17 @@ class NoData < EOFError; end attr_reader :message, :code, :response def initialize( code, message, response) - @code = response_code - @message = response_message + @code = code + @message = message @response = response end + def success? + false + end end end end