Exception: Chatrix::RoomNotFoundError

Inherits:
NotFoundError show all
Defined in:
lib/chatrix/errors.rb

Overview

Raised when a room is not found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(room) ⇒ RoomNotFoundError


50
51
52
# File 'lib/chatrix/errors.rb', line 50

def initialize(room)
  @room = room
end

Instance Attribute Details

#roomObject (readonly)

Returns the value of attribute room


48
49
50
# File 'lib/chatrix/errors.rb', line 48

def room
  @room
end