Class: Discorb::AuditLog::Integration
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::AuditLog::Integration
- Defined in:
- lib/discorb/audit_logs.rb
Overview
Represents an integration in an audit log entry.
Instance Attribute Summary collapse
-
#account ⇒ Discorb::Integration::Account
readonly
The account of the integration.
-
#id ⇒ Discorb::Snowflake
readonly
The ID of the integration.
-
#name ⇒ String
readonly
The name of the integration.
-
#type ⇒ Symbol
readonly
The type of the integration.
Instance Method Summary collapse
Methods inherited from DiscordModel
Instance Attribute Details
#account ⇒ Discorb::Integration::Account (readonly)
Returns The account of the integration.
391 392 393 |
# File 'lib/discorb/audit_logs.rb', line 391 def account @account end |
#id ⇒ Discorb::Snowflake (readonly)
Returns The ID of the integration.
385 386 387 |
# File 'lib/discorb/audit_logs.rb', line 385 def id @id end |
#name ⇒ String (readonly)
Returns The name of the integration.
389 390 391 |
# File 'lib/discorb/audit_logs.rb', line 389 def name @name end |
#type ⇒ Symbol (readonly)
Returns The type of the integration.
387 388 389 |
# File 'lib/discorb/audit_logs.rb', line 387 def type @type end |
Instance Method Details
#inspect ⇒ Object
407 408 409 |
# File 'lib/discorb/audit_logs.rb', line 407 def inspect "#<#{self.class} #{@id}>" end |