Exception: Rack::JsonSchema::Mock::ExampleNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/rack/json_schema/mock.rb

Instance Method Summary collapse

Methods inherited from Error

#to_rack_response

Instance Method Details

#idObject



85
86
87
# File 'lib/rack/json_schema/mock.rb', line 85

def id
  "example_not_found"
end

#statusObject



89
90
91
# File 'lib/rack/json_schema/mock.rb', line 89

def status
  500
end