Sha256: 854a7ed7a1428ecd7156d817ba4b4c1e4ef25758cc50a48e883799807ff2d2f6

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

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

  attr_accessor :clause, :date1, :date2, :days

  def attributes
    {
      clause: clause,
      date1: date1,
      date2: date2,
      days: days
    }.compact
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refine-rails-2.9.4 app/models/refine/inline/criteria/date_refinement.rb
refine-rails-2.9.3 app/models/refine/inline/criteria/date_refinement.rb
refine-rails-2.9.2 app/models/refine/inline/criteria/date_refinement.rb