Class: Rubycord::InviteChannel

Inherits:
Object
  • Object
show all
Includes:
IDObject
Defined in:
lib/rubycord/data/invite.rb

Overview

A channel referenced by an invite. It has less data than regular channels, so it’s a separate class

Instance Attribute Summary collapse

Attributes included from IDObject

#id

Method Summary

Methods included from IDObject

#==, #creation_time, synthesise

Instance Attribute Details

#nameString (readonly)



7
8
9
# File 'lib/rubycord/data/invite.rb', line 7

def name
  @name
end

#typeInteger (readonly)



10
11
12
# File 'lib/rubycord/data/invite.rb', line 10

def type
  @type
end