2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
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-09-11 14:41:01 +05:30
|
|
|
attribute :indent, Integer, default: 0
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|