forgeplus/app/forms/contents/delete_form.rb

7 lines
142 B
Ruby

class Contents::DeleteForm < BaseForm
attr_accessor :filepath, :branch, :new_branch, :sha
validates :filepath, :sha, presence: true
end