Module: LedgerSync::Ledgers::Mixins::SerializationMixin
- Included in:
- Searcher
- Defined in:
- lib/ledger_sync/ledgers/mixins/serialization_mixin.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
25 26 27 28 29 |
# File 'lib/ledger_sync/ledgers/mixins/serialization_mixin.rb', line 25 def self.included(base) base.include InferConfigMixin base.include InferResourceClassMixin base.extend ClassMethods end |
Instance Method Details
#deserializer ⇒ Object
31 32 33 |
# File 'lib/ledger_sync/ledgers/mixins/serialization_mixin.rb', line 31 def deserializer self.class.inferred_deserializer_class.new end |
#serializer ⇒ Object
35 36 37 |
# File 'lib/ledger_sync/ledgers/mixins/serialization_mixin.rb', line 35 def serializer self.class.inferred_serializer_class.new end |