Module: CaRuby::Resource
- Includes:
- JSON::Serializable, Migratable, Persistable, Jinx::Resource
- Defined in:
- lib/caruby/resource.rb
Overview
Augments Jinx::Resource
to inject Propertied persistence into introspected classes. A CaRuby application domain module includes CaRuby::Resource
and extends CaRuby::Importer
.
Instance Attribute Summary
Attributes included from Persistable
Method Summary
Methods included from Migratable
#migratable_independent_attributes
Methods included from Persistable
#add_defaults_autogenerated, #add_lazy_loader, #autogenerated?, #changed?, #changed_attributes, #copy_volatile_attributes, #create, #database, #delete, #do_without_lazy_loader, #dump, #ensure_exists, #fetch_autogenerated?, #fetch_saved?, #fetched?, #find, #loadable_attributes, #merge_into_snapshot, #persistence_service, #query, #remove_lazy_loader, #save, saved?, #saved_attributes_to_fetch, #searchable?, #searchable_attributes, #take_snapshot, unsaved?, #updatable?, #update, #validate