2020-03-09 00:40:16 +08:00
|
|
|
class Contents::DeleteForm < BaseForm
|
2020-03-20 20:15:43 +08:00
|
|
|
attr_accessor :filepath, :branch, :new_branch, :sha
|
2020-03-09 00:40:16 +08:00
|
|
|
|
2020-03-20 20:15:43 +08:00
|
|
|
validates :filepath, :sha, presence: true
|
2020-03-09 00:40:16 +08:00
|
|
|
|
|
|
|
|
end
|