lib/ticketing_hub/connection.rb in ticketinghub-1.0.0 vs lib/ticketing_hub/connection.rb in ticketinghub-1.0.1
- old
+ new
@@ -6,9 +6,10 @@
ERROR_MAP = {
400 => TicketingHub::BadRequest,
401 => TicketingHub::Unauthorized,
403 => TicketingHub::Forbidden,
404 => TicketingHub::NotFound,
+ 405 => TicketingHub::Gone,
406 => TicketingHub::NotAcceptable,
422 => TicketingHub::UnprocessableEntity,
500 => TicketingHub::InternalServerError,
501 => TicketingHub::NotImplemented,
502 => TicketingHub::BadGateway,
\ No newline at end of file