class OneSignal::RequestError
Attributes
http_body[R]
http_status[R]
Public Class Methods
new(message, http_status, http_body)
click to toggle source
Calls superclass method
# File lib/onesignal/request_error.rb, line 6 def initialize(message, http_status, http_body) @http_status = http_status @http_body = http_body if @http_status message += " - http status : #{@http_status}" end if @http_body message += " - http body : #{@http_body}" end super(message) end