Class: ApiModel::ErrorMessageFormatter
- Inherits:
-
Object
- Object
- ApiModel::ErrorMessageFormatter
- Defined in:
- lib/api_model/error_message_formatter.rb
Class Method Summary collapse
Class Method Details
.format(http_response) ⇒ Object
4 5 6 |
# File 'lib/api_model/error_message_formatter.rb', line 4 def self.format(http_response) "#{http_response.api_call.response_code}: #{http_response.api_call.request.url}" end |