lib/ig_markets/request_formatter.rb
def format_response(response)
        result = "  Response:\n"

        result += format_response_headers response.headers
        result += format_response_body response.body

        result
      end
# Formats a response received from `Excon`.
#
# @param [#headers, #body] response The response.
#
# @return [String] The formatted response.
Formats a response received from `Excon`.
Formats a response received from ` Excon ` .
def format_response(response)
        result = "  Response:\n"
        result += format_response_headers response.headers
        result += format_response_body response.body
        result
      end
def format_response ( response ) result = "  Response:\n" result += format_response_headers response . headers result += format_response_body response . body result end
Formats a response received from `Excon`.
Formats a response received from ` Excon ` .
The formatted response.
The formatted response .
String
response
response The response.
response The response .