Class: Mural::RoomFolder
- Inherits:
-
Object
- Object
- Mural::RoomFolder
- Includes:
- Codec
- Defined in:
- lib/mural/room_folder.rb
Class Method Summary collapse
Methods included from Codec
Class Method Details
.decode(json) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/mural/room_folder.rb', line 14 def self.decode(json) super.tap do |folder| # Recursively map out the children folder.children&.map! { |child| decode(child) } end end |