Sha256: cd91ae674dbecc59e623a781093ac4c9540d4706578f5b6716e8bbcaaf77f8e0

Contents?: true

Size: 184 Bytes

Versions: 68

Compression:

Stored size: 184 Bytes

Contents

module Ddr::Index
  class Response < SimpleDelegator

    def docs
      self["response"]["docs"]
    end

    def num_found
      self["response"]["numFound"].to_i
    end

  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
ddr-models-3.0.0.beta.20 lib/ddr/index/response.rb
ddr-models-2.4.9 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.18 lib/ddr/index/response.rb
ddr-models-2.4.8 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.17 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.16 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.15 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.14 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.13 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.12 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.11 lib/ddr/index/response.rb
ddr-models-2.4.7 lib/ddr/index/response.rb
ddr-models-2.4.6 lib/ddr/index/response.rb
ddr-models-2.4.5 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.10 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.9 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.8 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.7 lib/ddr/index/response.rb
ddr-models-2.4.4 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.6 lib/ddr/index/response.rb