def create(vault_id, document_data, options = {})
      options.merge!(default_options_to_merge_with)
      options[:body] = {:document => hash_to_base64_json(document_data)}
      self.class.post("/#{@api_ver}/vaults/#{vault_id}/documents", options)
    end
def create(vault_id, document_data, options = {})
      options.merge!(default_options_to_merge_with)
      options[:body] = {:document => hash_to_base64_json(document_data)}
      self.class.post("/#{@api_ver}/vaults/#{vault_id}/documents", options)
    end
JSON (structured text data store) API Methods  

 vault_id        should be a valid vault ID
 document_id     should be a valid document ID
 document_data   should be a Ruby Hash. Method will convert it to JSON and base64 encode as required