summaryrefslogtreecommitdiff
path: root/lib/unfold_form.rb
blob: 46b12beeaaf364bd50c6dff38c43ee33bdbafe88 (plain)
1
2
3
4
5
6
7
8
9
10
11
require_relative 'gt_one_coercion'

class UnfoldForm
  include Virtus.model

  attribute :since, GtOneCoercion
  attribute :to, GtOneCoercion
  attribute :bottom, Boolean
  attribute :unfold, Boolean, default: true
  attribute :offset, Integer
end