Class: MockModelObject

Inherits:
Object
  • Object
show all
Includes:
Rapid::Model::ModelObject
Defined in:
spec/factories/model_object.rb

Overview

A minimal mock implementation of a ModelObject.

Instance Attribute Summary

Attributes included from Rapid::Model::ModelObject

#handler_target

Instance Method Summary collapse

Methods included from Rapid::Model::ModelObject

#default_handler_target, #default_id, #flat, #get, #initialize, #insert, #kill, #post_to_parent, #register_handler, #replace

Methods included from Rapid::Model::Updatable

#deregister_from_updates, #notify_delete, #notify_update, #register_for_updates, #register_update_channel

Instance Method Details

#childrenObject


7
8
9
# File 'spec/factories/model_object.rb', line 7

def children
  {}
end