Sha256: 4742ffd3ebf6e477a703b68a3be47187c638c4a1f7635fd401bc9ff30a641768

Contents?: true

Size: 169 Bytes

Versions: 13

Compression:

Stored size: 169 Bytes

Contents

# frozen_string_literal: true

module ApiMe
  class BaseFilter
    include SearchObject.module

    option(:ids) { |scope, value| scope.where('id' => value) }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
api_me-0.14.1 lib/api_me/base_filter.rb
api_me-0.14.0 lib/api_me/base_filter.rb
api_me-0.13.0 lib/api_me/base_filter.rb
api_me-0.12.0 lib/api_me/base_filter.rb
api_me-0.11.1 lib/api_me/base_filter.rb
api_me-0.10.7 lib/api_me/base_filter.rb
api_me-0.10.6 lib/api_me/base_filter.rb
api_me-0.10.5 lib/api_me/base_filter.rb
api_me-0.10.4 lib/api_me/base_filter.rb
api_me-0.10.3 lib/api_me/base_filter.rb
api_me-0.10.2 lib/api_me/base_filter.rb
api_me-0.10.1 lib/api_me/base_filter.rb
api_me-0.10.0 lib/api_me/base_filter.rb