Sha256: 09482b5fc2c481980edf730f20fcdf8cbd43dbdffc333ea5b351d8e3157fe4cd

Contents?: true

Size: 938 Bytes

Versions: 5

Compression:

Stored size: 938 Bytes

Contents

require "forwardable"
require "http"
require "hashie"
require "thread"
require "oj"
require "set"

require "search_flip/version"
require "search_flip/exceptions"
require "search_flip/json"
require "search_flip/http_client"
require "search_flip/config"
require "search_flip/connection"
require "search_flip/bulk"
require "search_flip/filterable"
require "search_flip/post_filterable"
require "search_flip/aggregatable"
require "search_flip/aggregation"
require "search_flip/criteria"
require "search_flip/response"
require "search_flip/result"
require "search_flip/index"
require "search_flip/model"

module SearchFlip
  class NotSupportedError < StandardError; end
  class ConnectionError < StandardError; end

  class ResponseError < StandardError
    attr_reader :code, :body

    def initialize(code:, body:)
      @code = code
      @body = body
    end

    def to_s
      "#{self.class.name} (#{code}): #{body}"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
search_flip-2.3.1 lib/search_flip.rb
search_flip-2.3.0 lib/search_flip.rb
search_flip-2.2.0 lib/search_flip.rb
search_flip-2.1.0 lib/search_flip.rb
search_flip-2.1.0.beta2 lib/search_flip.rb