lib/ig_markets/request_formatter.rb
def format_response_headers(headers)
        result = "    Headers:\n"

        headers.each do |name, value|
          result += "      #{name}: #{value}\n"
        end

        result
      end
# Formats a request options hash that is ready to be passed to `Excon`.
#
# @param [Hash] options The request options.
#
# @return [String] The formatted request.
Formats a request options hash that is ready to be passed to `Excon`.
Formats a request options hash that is ready to be passed to ` Excon ` .
def format_response_headers(headers)
        result = "    Headers:\n"
        headers.each do |name, value|
          result += "      #{name}: #{value}\n"
        end
        result
      end
def format_response_headers ( headers ) result = "    Headers:\n" headers . each do | name , value | result += "      #{name}: #{value}\n" end result end
Formats a request options hash that is ready to be passed to `Excon`.
Formats a request options hash that is ready to be passed to ` Excon ` .
The formatted request.
The formatted request .
String
headers
options The request options.
options The request options .