Class: FastSerializer::JsonModel::Node
- Inherits:
-
Object
- Object
- FastSerializer::JsonModel::Node
- Defined in:
- lib/fast_serializer/json_model/node.rb
Instance Method Summary collapse
- #included?(_resource, _params, _context = nil) ⇒ Boolean
- #injectable? ⇒ Boolean
- #serialize(_resource, _params, _context = nil) ⇒ Object
Instance Method Details
#included?(_resource, _params, _context = nil) ⇒ Boolean
16 17 18 |
# File 'lib/fast_serializer/json_model/node.rb', line 16 def included?(_resource, _params, _context = nil) raise NotImplementedError end |
#injectable? ⇒ Boolean
8 9 10 |
# File 'lib/fast_serializer/json_model/node.rb', line 8 def injectable? false end |
#serialize(_resource, _params, _context = nil) ⇒ Object
12 13 14 |
# File 'lib/fast_serializer/json_model/node.rb', line 12 def serialize(_resource, _params, _context = nil) raise NotImplementedError end |