Class: Discordrb::Light::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/light/integrations.rb

Overview

A connection of your Discord account to a particular other service (currently, Twitch and YouTube)

Instance Attribute Summary collapse

Instance Attribute Details

#idString (readonly)


20
21
22
# File 'lib/discordrb/light/integrations.rb', line 20

def id
  @id
end

#integrationsArray<Integration> (readonly)


23
24
25
# File 'lib/discordrb/light/integrations.rb', line 23

def integrations
  @integrations
end

#nameString (readonly)


17
18
19
# File 'lib/discordrb/light/integrations.rb', line 17

def name
  @name
end

#revokedtrue, false (readonly) Also known as: revoked?


13
14
15
# File 'lib/discordrb/light/integrations.rb', line 13

def revoked
  @revoked
end

#typeSymbol (readonly)


10
11
12
# File 'lib/discordrb/light/integrations.rb', line 10

def type
  @type
end