Module: MarkMapper::Plugins::Serialization::ClassMethods

Defined in:
lib/mark_mapper/plugins/serialization.rb

Instance Method Summary collapse

Instance Method Details

#from_json(json) ⇒ Object


87
88
89
# File 'lib/mark_mapper/plugins/serialization.rb', line 87

def from_json(json)
  self.new.from_json(json)
end

#from_xml(xml) ⇒ Object


91
92
93
# File 'lib/mark_mapper/plugins/serialization.rb', line 91

def from_xml(xml)
  self.new.from_xml(xml)
end