Method: Apia::RuntimeError#hash
- Defined in:
- lib/apia/errors/runtime_error.rb
#hash ⇒ Hash
Return the hash that describes this error
19 20 21 22 23 24 25 26 27 |
# File 'lib/apia/errors/runtime_error.rb', line 19 def hash { code: 'generic_runtime_error', description: , detail: { class: self.class.name } } end |