class OverwatchLeague::ResponseError
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/overwatch_league/response_error.rb, line 5 def initialize(response) @response = response super("#{response.code}: #{response.body}") end