Module
DataMapper::CouchResource::Attachments
In:
lib/couchdb_adapter/attachments.rb
Methods
add_attachment
assert_attachments_property
attachment_path
delete_attachment
get_attachment
included
Public Class methods
included
(mod)
Public Instance methods
add_attachment
(file, options = {})
assert_attachments_property
()
attachment_path
(name)
delete_attachment
(name)
get_attachment
(name)
TODO: cache data on model? (don‘t want to make resource dirty though…)
[Validate]