module Riagent::Document

Constants

VERSION

Attributes

id[RW]
key[RW]

Public Instance Methods

to_json_document() click to toggle source

Returns the JSON representation of the document. Does not include the document key

# File lib/riagent/document.rb, line 41
def to_json_document
  self.attributes.to_json
end