Sha256: b213f8b2a9bf4134392a47a40314f3224de335fe3d2fe0d27f50adff91418a01
Contents?: true
Size: 957 Bytes
Versions: 4
Compression:
Stored size: 957 Bytes
Contents
motion_require '../helpers/has_authorization' motion_require './_nano_bag_mixin.rb' motion_require './_finder_mixin.rb' motion_require './_base_mixin.rb' motion_require './_sync_mixin.rb' motion_require './_association_mixin.rb' motion_require './_dirty_mixin.rb' motion_require './store.rb' motion_require './store_extension.rb' module MotionPrime class Model < NSFNanoObject include MotionPrime::HasAuthorization include MotionPrime::HasNormalizer include MotionPrime::ModelBaseMixin include MotionPrime::ModelAssociationMixin include MotionPrime::ModelSyncMixin include MotionPrime::ModelFinderMixin include MotionPrime::ModelDirtyMixin attribute :bag_key # need this as we use shared store; each nested resource must belong to parent bag attribute :id def errors @errors ||= Errors.new(self.weak_ref) end def dealloc Prime.logger.dealloc_message :model, self super end end end
Version data entries
4 entries across 4 versions & 1 rubygems