Class: Sinicum::Jcr::TypeTranslators::DefaultTranslator
- Inherits:
-
Object
- Object
- Sinicum::Jcr::TypeTranslators::DefaultTranslator
- Defined in:
- lib/sinicum/jcr/type_translators/default_translator.rb
Overview
Public: Identifies all nodes as belonging to the Node class. Should be used as the last TypeTranslator in a chain.
Class Method Summary collapse
Class Method Details
.initialize_node(json) ⇒ Object
7 8 9 |
# File 'lib/sinicum/jcr/type_translators/default_translator.rb', line 7 def self.initialize_node(json) ::Sinicum::Jcr::Node.new(json_response: json) end |