Class: Datadog::AppSec::Instrumentation::Gateway::User
- 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
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#login ⇒ Object
readonly
Returns the value of attribute login.
-
#session_id ⇒ Object
readonly
Returns the value of attribute session_id.
Instance Method Summary collapse
-
#initialize(id, login = nil, session_id = nil) ⇒ User
constructor
A new instance of User.
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, login = nil, session_id = nil) super() @id = id @login = login @session_id = session_id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
14 15 16 |
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 14 def id @id end |
#login ⇒ Object (readonly)
Returns the value of attribute login.
14 15 16 |
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 14 def login @login end |
#session_id ⇒ Object (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 |