Class: Bearcat::MiscExceptions::Conflict

Inherits:
Footrest::HttpError::BadRequest
  • Object
show all
Defined in:
lib/bearcat/misc_exceptions/conflict.rb

Overview

This exception is not part of the Footrest::HttpError module

Class Method Summary collapse

Class Method Details

.===(exception) ⇒ Object



5
6
7
# File 'lib/bearcat/misc_exceptions/conflict.rb', line 5

def self.===(exception)
  exception.status == 409
end