Module: Her::Model
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActiveModel::AttributeMethods, ActiveModel::Conversion, ActiveModel::Dirty, ActiveModel::Validations, ActiveModel::Validations::Callbacks, Associations, Attributes, Base, HTTP, Introspection, NestedAttributes, ORM, Parse, Paths
- Defined in:
- lib/castle-her/model.rb,
lib/castle-her/model/orm.rb,
lib/castle-her/model/base.rb,
lib/castle-her/model/http.rb,
lib/castle-her/model/parse.rb,
lib/castle-her/model/paths.rb,
lib/castle-her/model/relation.rb,
lib/castle-her/model/attributes.rb,
lib/castle-her/model/associations.rb,
lib/castle-her/model/introspection.rb,
lib/castle-her/model/nested_attributes.rb,
lib/castle-her/model/deprecated_methods.rb,
lib/castle-her/model/associations/association.rb,
lib/castle-her/model/associations/association_proxy.rb,
lib/castle-her/model/associations/has_one_association.rb,
lib/castle-her/model/associations/has_many_association.rb,
lib/castle-her/model/associations/belongs_to_association.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: Associations, Attributes, Base, HTTP, Introspection, NestedAttributes, ORM, Parse, Paths Classes: Relation
Constant Summary
Constants included from HTTP
Method Summary
Methods included from Paths
Methods included from Introspection
Methods included from Parse
Methods included from ORM
#destroy, #destroyed?, #new?, #persisted?, #save, #save!
Methods included from Attributes
#assign_attributes, #attributes, #id, #initialize
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Her::Model::Attributes