Class: Salestation::Web::Responses::Error
- Defined in:
- lib/salestation/web/responses.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Response
Instance Method Details
#body ⇒ Object
40 41 42 43 44 |
# File 'lib/salestation/web/responses.rb', line 40 def body # Merge into `base_error` to ensure standard fields are not overriden merge_not_nil(base_error || {}, :message, ) .merge(debug_message: ) end |