forgeplus/app/forms/contents/delete_form.rb

7 lines
194 B
Ruby

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