Module: Riagent::Document
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/riagent/document.rb,
lib/riagent/document/version.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Method Summary collapse
-
#to_json_document ⇒ Object
Returns the JSON representation of the document.
Instance Method Details
#to_json_document ⇒ Object
Returns the JSON representation of the document. Does not include the document key
41 42 43 |
# File 'lib/riagent/document.rb', line 41 def to_json_document self.attributes.to_json end |