Class: RubyCord::Guild::AuditLog::Integration

Inherits:
DiscordModel
  • Object
show all
Defined in:
lib/rubycord/guild/audit_log/integration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DiscordModel

#==, #eql?

Instance Attribute Details

#accountRubyCord::Integration::Account (readonly)

Returns The account of the integration.

Returns:



15
16
17
# File 'lib/rubycord/guild/audit_log/integration.rb', line 15

def 
  @account
end

#idRubyCord::Snowflake (readonly)

Returns The ID of the integration.

Returns:



9
10
11
# File 'lib/rubycord/guild/audit_log/integration.rb', line 9

def id
  @id
end

#nameString (readonly)

Returns The name of the integration.

Returns:

  • (String)

    The name of the integration.



13
14
15
# File 'lib/rubycord/guild/audit_log/integration.rb', line 13

def name
  @name
end

#typeSymbol (readonly)

Returns The type of the integration.

Returns:

  • (Symbol)

    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

#inspectObject



31
32
33
# File 'lib/rubycord/guild/audit_log/integration.rb', line 31

def inspect
  "#<#{self.class} #{@id}>"
end