Class: RubyCord::Integration::Account

Inherits:
DiscordModel show all
Defined in:
lib/rubycord/integration.rb

Overview

Represents an account for an integration.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#idString (readonly)

Returns The ID of the account.

Returns:

  • (String)

    The ID of the account.



117
118
119
# File 'lib/rubycord/integration.rb', line 117

def id
  @id
end

#nameString (readonly)

Returns The name of the account.

Returns:

  • (String)

    The name of the account.



119
120
121
# File 'lib/rubycord/integration.rb', line 119

def name
  @name
end