Class: OpenEHR::Serializer::BaseSerializer

Inherits:
Object
  • Object
show all
Defined in:
lib/open_ehr/serializer.rb

Direct Known Subclasses

ADLSerializer, XMLSerializer

Instance Method Summary collapse

Constructor Details

#initialize(archetype) ⇒ BaseSerializer

Returns a new instance of BaseSerializer.



11
12
13
# File 'lib/open_ehr/serializer.rb', line 11

def initialize(archetype)
  @archetype = archetype
end

Instance Method Details

#serializeObject



15
16
17
# File 'lib/open_ehr/serializer.rb', line 15

def serialize
  return self.merge
end