Class: Kvom::Adapter::FilesystemDocument

Inherits:
Document
  • Object
show all
Defined in:
lib/kvom/adapter/filesystem_document.rb

Instance Attribute Summary

Attributes inherited from Document

#key, #persisted_revision

Instance Method Summary collapse

Methods inherited from Document

#[], #[]=, #update_revision

Instance Method Details

#to_jsonObject



7
8
9
# File 'lib/kvom/adapter/filesystem_document.rb', line 7

def to_json
  MultiJson.dump(attributes.to_h)
end