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.



106
107
108
# File 'lib/discorb/integration.rb', line 106

def id
  @id
end

#name -> String (readonly)

Returns The name of the account.

Returns:

  • (String)

    The name of the account.



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

def name
  @name
end