Method: Ridley::Errors::HTTPError.register_error

Defined in:
lib/ridley/errors.rb

.register_error(status) ⇒ Object



97
98
99
# File 'lib/ridley/errors.rb', line 97

def register_error(status)
  error_map[status.to_i] = self
end