Class: Rubycord::InviteServer
- Inherits:
-
Object
- Object
- Rubycord::InviteServer
- Includes:
- IDObject
- Defined in:
- lib/rubycord/data/invite.rb
Overview
A server referenced to by an invite
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
This server's name.
-
#splash_hash ⇒ String?
readonly
The hash of the server's invite splash screen (for partnered servers) or nil if none is present.
Attributes included from IDObject
Method Summary
Methods included from IDObject
#==, #creation_time, synthesise
Instance Attribute Details
#name ⇒ String (readonly)
Returns this server's name.
27 28 29 |
# File 'lib/rubycord/data/invite.rb', line 27 def name @name end |
#splash_hash ⇒ String? (readonly)
Returns the hash of the server's invite splash screen (for partnered servers) or nil if none is present.
31 32 33 |
# File 'lib/rubycord/data/invite.rb', line 31 def splash_hash @splash_hash end |