Exception: ShiftPlanning::HTTPError

Inherits:
Exception
  • Object
show all
Defined in:
lib/shiftplanning/http_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ HTTPError

Returns a new instance of HTTPError.



23
24
25
26
# File 'lib/shiftplanning/http_error.rb', line 23

def initialize code
  super
  message = code.to_s
end