Sha256: e52a49665f3e304d135221a0602cfd0b3188efbeb74f8e496ed606634151ac6d

Contents?: true

Size: 235 Bytes

Versions: 30

Compression:

Stored size: 235 Bytes

Contents

class Refine::Inline::Criteria::NumericRefinement
  include ActiveModel::Model

  attr_accessor :clause, :value1, :value2

  def attributes
    {
      clause: clause,
      value1: value1,
      value2: value2
    }.compact
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
refine-rails-2.9.9 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.8 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.7 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.6 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.5 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.4 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.3 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.2 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.1 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.0 app/models/refine/inline/criteria/numeric_refinement.rb