Class: Discorb::Integration::Account

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

Overview

Represents an account for an integration.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?

Instance Attribute Details

#id -> String (readonly)

Returns The ID of the account.

Returns:

  • (String)

    The ID of the account.



102
103
104
# File 'lib/discorb/integration.rb', line 102

def id
  @id
end

#name -> String (readonly)

Returns The name of the account.

Returns:

  • (String)

    The name of the account.



104
105
106
# File 'lib/discorb/integration.rb', line 104

def name
  @name
end