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.12.0 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.12 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.11 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.10 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.9 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.8 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.6 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.5 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.4 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.3 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.2 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.1 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.11.0 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.10.1 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.10.0 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.14 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.13 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.12 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.11 app/models/refine/inline/criteria/numeric_refinement.rb
refine-rails-2.9.10 app/models/refine/inline/criteria/numeric_refinement.rb