unfold_form.rb 289 Bytes
Newer Older
skv's avatar
skv committed
1 2 3 4 5 6 7 8 9 10
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
11
  attribute :indent, Integer, default: 0
skv's avatar
skv committed
12
end