Class: EvilEvents::Core::Events::Serializers::XML::Engines::Ox Private
- Inherits:
-
Base::AbstractEngine
- Object
- Base::AbstractEngine
- EvilEvents::Core::Events::Serializers::XML::Engines::Ox
- Defined in:
- lib/evil_events/plugins/ox_engine/ox.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Methods inherited from Base::AbstractEngine
#initialize, #restore_serialization_state
Constructor Details
This class inherits a constructor from EvilEvents::Core::Events::Serializers::Base::AbstractEngine
Instance Method Details
#dump(serialization_state) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/evil_events/plugins/ox_engine/ox.rb', line 12 def dump(serialization_state) ::Ox.dump(serialization_state) end |
#load(xml) ⇒ EventSerializationState
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 25 26 |
# File 'lib/evil_events/plugins/ox_engine/ox.rb', line 22 def load(xml) ::Ox.parse_obj(xml) rescue ::Ox::Error, NoMethodError, TypeError, ArgumentError raise EvilEvents::SerializationEngineError end |