Exception: Fluffle::Errors::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Fluffle::Errors::BaseError
- Defined in:
- lib/fluffle/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#to_response ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/fluffle/errors.rb', line 4 def to_response { 'code' => self.code, 'message' => self., 'data' => self.data } end |