Module: CouchPotato::Attachments::ClassMethods
- Defined in:
- lib/couch_potato/persistence/attachments.rb
Instance Method Summary collapse
Instance Method Details
#json_create(json) ⇒ Object
19 20 21 22 23 |
# File 'lib/couch_potato/persistence/attachments.rb', line 19 def json_create(json) instance = super instance. = json['_attachments'] if json instance end |