summaryrefslogtreecommitdiff
path: root/lib/unfold_form.rb
blob: fcd01503d1b05c22073725c98d9df7642cb8ae03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
  attribute :indent, Integer, default: 0
end