wordtreefoundation/archivist-client

View on GitHub
lib/archivist/models/body.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'virtus'

require_relative 'document'

module Archivist
  module Model
    class Body
      include Virtus.model

      attribute :num_found, Integer
      attribute :start, Integer
      attribute :docs, Array[Document]
    end
  end
end