class Discorb::Integration::Account

Represents an account for an integration.

Attributes

id[R]

@return [String] The ID of the account.

name[R]

@return [String] The name of the account.

Public Class Methods

new(data) click to toggle source

@!visibility private

# File lib/discorb/integration.rb, line 105
def initialize(data)
  @id = data[:id]
  @name = data[:name]
end