Module: Her::Model
- Extended by:
- ActiveSupport::Concern
- Includes:
- ORM
- Defined in:
- lib/her/model.rb,
lib/her/model/orm.rb,
lib/her/model/base.rb,
lib/her/model/http.rb,
lib/her/model/hooks.rb,
lib/her/model/relationships.rb
Overview
This module is the main element of Her. After creating a Her::API object, include this module in your models to get a few magic methods defined in them.
Defined Under Namespace
Modules: Base, HTTP, Hooks, ORM, Relationships
Method Summary
Methods included from ORM
#all, #create, #destroy, #destroy_existing, #find, #initialize, initialize_collection, #method_missing, #new_collection, #save, #save_existing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Her::Model::ORM