Class: Datadog::AppSec::Instrumentation::Gateway::User
- Defined in:
- lib/datadog/appsec/instrumentation/gateway/argument.rb
Overview
Gateway User argument
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#login ⇒ Object
readonly
Returns the value of attribute login.
Instance Method Summary collapse
-
#initialize(id, login) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(id, login) ⇒ User
Returns a new instance of User.
14 15 16 17 18 19 |
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 14 def initialize(id, login) super() @id = id @login = login end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
12 13 14 |
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 12 def id @id end |
#login ⇒ Object (readonly)
Returns the value of attribute login.
12 13 14 |
# File 'lib/datadog/appsec/instrumentation/gateway/argument.rb', line 12 def login @login end |