Sha256: 627a7380576e4a466f96f97f1e0f9fdde7a1cb03a2faefdc11df7f5f226d0272

Contents?: true

Size: 389 Bytes

Versions: 8

Compression:

Stored size: 389 Bytes

Contents

module MeiliSearch
  module Rails
    class NoBlockGiven < StandardError; end

    class BadConfiguration < StandardError; end

    class NotConfigured < StandardError
      def message
        'Please configure Meilisearch. Set MeiliSearch::Rails.configuration = ' \
          "{meilisearch_host: 'YOUR_MEILISEARCH_HOST', meilisearch_api_key: 'YOUR_API_KEY'}"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
meilisearch-rails-0.7.3 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.7.2 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.7.1 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.7.0 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.6.0 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.5.2 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.5.1 lib/meilisearch/rails/errors.rb
meilisearch-rails-0.5.0 lib/meilisearch/rails/errors.rb