Class: Datadog::AppSec::Instrumentation::Gateway::User

Inherits:
Argument
  • Object
show all
Defined in:
lib/datadog/appsec/instrumentation/gateway/argument.rb

Overview

Gateway User argument NOTE: This class is a subject of elimination and will be removed when

the event system is refactored.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, login = nil, session_id = nil) ⇒ User

Returns a new instance of User.



16
17
18
19
20
21
22
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 16

def initialize(id,  = nil, session_id = nil)
  super()

  @id = id
  @login = 
  @session_id = session_id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



14
15
16
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 14

def id
  @id
end

#loginObject (readonly)

Returns the value of attribute login.



14
15
16
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 14

def 
  @login
end

#session_idObject (readonly)

Returns the value of attribute session_id.



14
15
16
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 14

def session_id
  @session_id
end