Module: DataMapper::Model::Relationship

Defined in:
lib/appengine-utils/model/relationship.rb

Instance Method Summary collapse

Instance Method Details

#blob(name) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/appengine-utils/model/relationship.rb', line 4

def blob(name)
  add_relation_property(name)
  add_model_reader(name)
  add_model_writer(name)
  
  add_before_save_method(name)
  add_before_destroy_method(name)
  
  add_filter_methods(name)

end