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?, #inspect

Instance Attribute Details

#id -> String (readonly)

Returns The ID of the account.

Returns:

  • (String)

    The ID of the account.



109
110
111
# File 'lib/discorb/integration.rb', line 109

def id
  @id
end

#name -> String (readonly)

Returns The name of the account.

Returns:

  • (String)

    The name of the account.



111
112
113
# File 'lib/discorb/integration.rb', line 111

def name
  @name
end