lib/triviacrack/errors/request_error.rb in triviacrack-0.3.0 vs lib/triviacrack/errors/request_error.rb in triviacrack-0.3.2
- old
+ new
@@ -19,9 +19,10 @@
# url - The URL that was requested.
# body - The response body that was returned by the Trivia Crack server.
def initialize(code, url, body)
@code = code
@url = url
+ @body = body
end
end
end
end