Class: Barker::Api::Response::Error
- Extended by:
- Forwardable
- Defined in:
- lib/barker/api/response/error.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#to_hash ⇒ Object
8 9 10 11 12 |
# File 'lib/barker/api/response/error.rb', line 8 def to_hash { 'error' => error } end |