Sha256: 0b4f3b632d5aa2b918273a8de5d67495b82a672bc14fb609e95ed94097badc1b
Contents?: true
Size: 335 Bytes
Versions: 6
Compression:
Stored size: 335 Bytes
Contents
module Swiftype class Document < BaseModel parents Engine, DocumentType def engine Engine.find engine_id end def document_type DocumentType.find document_type_id end def update_fields!(hash) update_with! put("#{raw_path_to_model}/update_fields.json", {:fields => hash}) end end end
Version data entries
6 entries across 6 versions & 2 rubygems