Module: Representable::ReadableWriteable
- Included in:
- Mapper
- Defined in:
- lib/representable/readable_writeable.rb
Instance Method Summary collapse
- #deserialize_property(binding, doc, options) ⇒ Object
- #serialize_property(binding, doc, options) ⇒ Object
Instance Method Details
#deserialize_property(binding, doc, options) ⇒ Object
3 4 5 6 |
# File 'lib/representable/readable_writeable.rb', line 3 def deserialize_property(binding, doc, ) return unless binding.writeable? super end |
#serialize_property(binding, doc, options) ⇒ Object
8 9 10 11 |
# File 'lib/representable/readable_writeable.rb', line 8 def serialize_property(binding, doc, ) return unless binding.readable? super end |