Class: RubyCord::Guild::AuditLog::Integration
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- RubyCord::Guild::AuditLog::Integration
- Defined in:
- lib/rubycord/guild/audit_log/integration.rb
Instance Attribute Summary collapse
-
#account ⇒ RubyCord::Integration::Account
readonly
The account of the integration.
-
#id ⇒ RubyCord::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 ⇒ RubyCord::Integration::Account (readonly)
Returns The account of the integration.
15 16 17 |
# File 'lib/rubycord/guild/audit_log/integration.rb', line 15 def account @account end |
#id ⇒ RubyCord::Snowflake (readonly)
Returns The ID of the integration.
9 10 11 |
# File 'lib/rubycord/guild/audit_log/integration.rb', line 9 def id @id end |
#name ⇒ String (readonly)
Returns The name of the integration.
13 14 15 |
# File 'lib/rubycord/guild/audit_log/integration.rb', line 13 def name @name end |
#type ⇒ Symbol (readonly)
Returns The type of the integration.
11 12 13 |
# File 'lib/rubycord/guild/audit_log/integration.rb', line 11 def type @type end |
Instance Method Details
#inspect ⇒ Object
31 32 33 |
# File 'lib/rubycord/guild/audit_log/integration.rb', line 31 def inspect "#<#{self.class} #{@id}>" end |