summaryrefslogtreecommitdiff
path: root/lib/unfold_form.rb
blob: 05bb3ed7f1c18dfc5e5a3649ce3ba77df7dd51e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

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