Module Her::Model
In: lib/her/model.rb
lib/her/model/deprecated_methods.rb
lib/her/model/orm.rb
lib/her/model/associations/has_one_association.rb
lib/her/model/associations/association_proxy.rb
lib/her/model/associations/belongs_to_association.rb
lib/her/model/associations/has_many_association.rb
lib/her/model/associations/association.rb
lib/her/model/relation.rb
lib/her/model/attributes.rb
lib/her/model/paths.rb
lib/her/model/introspection.rb
lib/her/model/associations.rb
lib/her/model/http.rb
lib/her/model/base.rb
lib/her/model/parse.rb
lib/her/model/nested_attributes.rb

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.

@example

  class User
    include Her::Model
  end

  @user = User.new(:name => "Rémi")
  @user.save

Included Modules

Her::Model::Base Her::Model::DeprecatedMethods Her::Model::Attributes Her::Model::ORM Her::Model::HTTP Her::Model::Parse Her::Model::Introspection Her::Model::Paths Her::Model::Associations Her::Model::NestedAttributes ActiveModel::AttributeMethods ActiveModel::Validations ActiveModel::Validations::Callbacks ActiveModel::Conversion ActiveModel::Dirty

Classes and Modules

Module Her::Model::Associations
Module Her::Model::Attributes
Module Her::Model::Base
Module Her::Model::DeprecatedMethods
Module Her::Model::HTTP
Module Her::Model::Introspection
Module Her::Model::NestedAttributes
Module Her::Model::ORM
Module Her::Model::Parse
Module Her::Model::Paths
Class Her::Model::Relation

[Validate]