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.



116
117
118
# File 'lib/discorb/integration.rb', line 116

def id
  @id
end

#name -> String (readonly)

Returns The name of the account.

Returns:

  • (String)

    The name of the account.



118
119
120
# File 'lib/discorb/integration.rb', line 118

def name
  @name
end