Sha256: 6c839cd287173d1f00e8369a7aa3bbae37081ac59377fa5b7774414096f6e4d8

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

module JsonApiFilter
  module FieldFilters
    class Base
      
      attr_reader :scope, :values, :association

      # @param [ActiveRecord::Base] scope
      # @param [Hash] values
      # @param [Boolean] association
      def initialize(scope, values, association: false )
        @scope = scope
        @values = values
        @association = association
      end
    
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json_api_filter-0.3.2 lib/json_api_filter/field_filters/base.rb
json_api_filter-0.2 lib/json_api_filter/field_filters/base.rb