Method: Ridley::Errors::HTTPError.fabricate
- Defined in:
- lib/ridley/errors.rb
.fabricate(env) ⇒ Object
92 93 94 95 |
# File 'lib/ridley/errors.rb', line 92 def fabricate(env) klass = lookup_error(env[:status].to_i) klass.new(env) end |