class Polar::Error::HTTPError
Public Class Methods
new(status)
click to toggle source
Calls superclass method
# File lib/polar/error/http_error.rb, line 4 def initialize(status) @status = status super(to_s) end
Public Instance Methods
to_s()
click to toggle source
# File lib/polar/error/http_error.rb, line 9 def to_s "HTTP Error - the request returnd:(#{@status})" end