class Github::Error::ServiceError
def initialize(response)
- Api: - public
Parameters:
-
response
(Hash[Symbol]
) --
def initialize(response) @headers = response[:response_headers] @body = response[:body] @status = response[:status] @response_headers = @headers @response_message = @body super(create_message(response)) end