Class: Lobster::RoomTheme

Inherits:
Object
  • Object
show all
Defined in:
lib/lobster/room_theme.rb

Overview

Information pertaining to the aesthetics of a room. Bots can safely ignore this information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ RoomTheme

Creates information about the room theme.

Parameters:

  • id (Uuid)

    Unique ID of the room.



34
35
36
# File 'lib/lobster/room_theme.rb', line 34

def initialize(id)
  @id = id
end

Instance Attribute Details

#background_idUuid?

ID of the background resource for the room. This will be nil if there's no background for the room.

Returns:



30
# File 'lib/lobster/room_theme.rb', line 30

attr_nullable_accessor :background_id, Uuid

ID of the banner resource for the room. This will be nil if there's no banner for the room.

Returns:



24
# File 'lib/lobster/room_theme.rb', line 24

attr_nullable_accessor :banner_id, Uuid

#icon_idUuid?

ID of the icon resource for the room. This will be nil if there's no icon for the room.

Returns:



18
# File 'lib/lobster/room_theme.rb', line 18

attr_nullable_accessor :icon_id, Uuid

#idUuid (readonly)

Unique ID of the room.

Returns:

  • (Uuid)

    ID of the room.



12
13
14
# File 'lib/lobster/room_theme.rb', line 12

def id
  @id
end