Module: LedgerSync::ResourceAdaptor::Mixin
- Defined in:
- lib/ledger_sync/resource_adaptor.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/ledger_sync/resource_adaptor.rb', line 35 def self.included(base) base.extend(ClassMethods) base.attr_reader(:resource) base.attribute(:ledger_id) base.attribute(:external_id) base.include(InstanceMethods) end |