Class: Mumukit::Platform::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/mumuki/classroom.rb

Class Method Summary collapse

Class Method Details

.demongoize(object) ⇒ Object



46
47
48
# File 'lib/mumuki/classroom.rb', line 46

def self.demongoize(object)
  parse object
end

.mongoize(object) ⇒ Object



50
51
52
# File 'lib/mumuki/classroom.rb', line 50

def self.mongoize(object)
  object.as_json
end