lib/finix.rb in finix-0.12 vs lib/finix.rb in finix-0.13
- old
+ new
@@ -9,14 +9,15 @@
@hypermedia_registry = {}
@errors_registry = {
:unknown => Finix::ResourceErrors,
400 => Finix::BadRequest,
401 => Finix::Unauthorized,
+ 402 => Finix::UpstreamProcessorError,
403 => Finix::Forbidden,
404 => Finix::NotFound,
405 => Finix::MethodNotAllowed,
422 => Finix::UnprocessableEntity,
- 500 => Finix::ServerError
+ 500 => Finix::InternalServerError
}
class << self
attr_accessor :client
\ No newline at end of file