Exception: SacsRuby::NotFoundError
- Defined in:
- lib/sacs_ruby/error.rb
Overview
404 HTTP Error
Instance Method Summary collapse
-
#initialize(response) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from Error
Constructor Details
#initialize(response) ⇒ NotFoundError
Returns a new instance of NotFoundError.
23 24 25 26 27 28 29 |
# File 'lib/sacs_ruby/error.rb', line 23 def initialize(response) if response.nil? @response = { 'type' => 'Not Found', 'message' => '404 Not Found' } else super end end |