Method: Permalink#restore_context_object

Defined in:
app/models/permalink.rb

#restore_context_objectObject

Takes the XML stored in self.context_obj_serialized, and turns it back into an OpenURL ContextObject



21
22
23
# File 'app/models/permalink.rb', line 21

def restore_context_object
  return OpenURL::ContextObject.new_from_xml(self.context_obj_serialized)
end