debian-mirror-gitlab/lib/unfold_form.rb
2018-12-13 13:39:08 +05:30

14 lines
320 B
Ruby

# 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