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

Extended by:
T::Helpers, T::Sig
Included in:
Request, Security::BlockedHost, Security::CSRFViolation, Security::IPSpoof
Defined in:
lib/log_struct/shared/interfaces/request_fields.rb

Overview

This module is abstract.

Subclasses must implement the abstract methods below.

Instance Method Summary collapse

Instance Method Details

#http_methodString?

This method is abstract.

Returns:

  • (String, nil)


18
19
# File 'lib/log_struct/shared/interfaces/request_fields.rb', line 18

def http_method
end

#pathString?

This method is abstract.

Returns:

  • (String, nil)


14
15
# File 'lib/log_struct/shared/interfaces/request_fields.rb', line 14

def path
end

#refererString?

This method is abstract.

Returns:

  • (String, nil)


30
31
# File 'lib/log_struct/shared/interfaces/request_fields.rb', line 30

def referer
end

#request_idString?

This method is abstract.

Returns:

  • (String, nil)


34
35
# File 'lib/log_struct/shared/interfaces/request_fields.rb', line 34

def request_id
end

#source_ipString?

This method is abstract.

Returns:

  • (String, nil)


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

def source_ip
end

#user_agentString?

This method is abstract.

Returns:

  • (String, nil)


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

def user_agent
end