Module: LogStruct::Log::Interfaces::RequestFields Abstract

Extended by:
T::Helpers, T::Sig
Included in:
Request, Security
Defined in:
lib/log_struct/log/interfaces/request_fields.rb

Overview

This module is abstract.

Subclasses must implement the abstract methods below.

Common interface for request-related fields Used by both Request and Security logs

Instance Method Summary collapse

Instance Method Details

#http_methodString?

This method is abstract.

Returns:

  • (String, nil)


20
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 20

def http_method; end

#pathString?

This method is abstract.

Common request fields

Returns:

  • (String, nil)


17
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 17

def path; end

#refererString?

This method is abstract.

Returns:

  • (String, nil)


29
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 29

def referer; end

#request_idString?

This method is abstract.

Returns:

  • (String, nil)


32
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 32

def request_id; end

#source_ipString?

This method is abstract.

Returns:

  • (String, nil)


23
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 23

def source_ip; end

#user_agentString?

This method is abstract.

Returns:

  • (String, nil)


26
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 26

def user_agent; end