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-2.4.12 lib/ddr/index/response.rb
ddr-models-2.4.11 lib/ddr/index/response.rb
ddr-models-3.0.8 lib/ddr/index/response.rb
ddr-models-3.0.7 lib/ddr/index/response.rb
ddr-models-3.0.6 lib/ddr/index/response.rb
ddr-models-3.0.5 lib/ddr/index/response.rb
ddr-models-3.0.4 lib/ddr/index/response.rb
ddr-models-3.0.3 lib/ddr/index/response.rb
ddr-models-3.0.2 lib/ddr/index/response.rb
ddr-models-3.0.1 lib/ddr/index/response.rb
ddr-models-3.0.0 lib/ddr/index/response.rb
ddr-models-3.0.0.rc6 lib/ddr/index/response.rb
ddr-models-3.0.0.rc5 lib/ddr/index/response.rb
ddr-models-3.0.0.rc4 lib/ddr/index/response.rb
ddr-models-3.0.0.rc3 lib/ddr/index/response.rb
ddr-models-3.0.0.rc2 lib/ddr/index/response.rb
ddr-models-3.0.0.rc1 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.22 lib/ddr/index/response.rb
ddr-models-3.0.0.beta.21 lib/ddr/index/response.rb
ddr-models-2.4.10 lib/ddr/index/response.rb