def options
      opts = { user_agent: HTTP_USER_AGENT }
      NETWORKS_KEYS.each_with_object(opts) do |key, options|
        options[key] = send(key)
      end
    end
def options
      opts = { user_agent: HTTP_USER_AGENT }
      NETWORKS_KEYS.each_with_object(opts) do |key, options|
        options[key] = send(key)
      end
    end
def options opts = { user_agent : HTTP_USER_AGENT } NETWORKS_KEYS . each_with_object ( opts ) do | key , options | options [ key ] = send ( key ) end end
Create a hash of options and their values
Create a hash of options and their values