2018-10-06 19:10:08 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-08-02 11:12:01 -04:00
|
|
|
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
|
2015-07-22 09:58:17 -04:00
|
|
|
attribute :indent, Integer, default: 0
|
2014-08-02 11:12:01 -04:00
|
|
|
end
|