Module: Graft::Json::Model
- Included in:
- EmptyJsonModel, JsonModelWithAttributes
- Defined in:
- lib/graft/lib/graft/json/model.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(other) ⇒ Object
20 21 22 23 24 |
# File 'lib/graft/lib/graft/json/model.rb', line 20 def self.included(other) other.send(:extend, Graft::Model::ClassMethods) other.send(:extend, Graft::Json::Model::ClassMethods) other.send(:include, Graft::Model::InstanceMethods) end |