Module: RestfulError::Helper
- Included in:
- BaseError
- Defined in:
- lib/restful_error.rb
Instance Method Summary collapse
Instance Method Details
#response_message ⇒ Object
17 18 19 20 |
# File 'lib/restful_error.rb', line 17 def return unless .nil? = RestfulError.localized_phrase(self.class.name, status_data) end |
#status_data ⇒ Object
14 15 16 |
# File 'lib/restful_error.rb', line 14 def status_data @status_data ||= RestfulError.build_status_from_symbol_or_code(http_status) end |