Sha256: 8ec4c4621ddede2ea65600f9029d7828e9c928827b48d186138963b03be5c05d
Contents?: true
Size: 201 Bytes
Versions: 1
Compression:
Stored size: 201 Bytes
Contents
# frozen_string_literal: true class ArticleInput < Upgrow::Input attribute :title attribute :body validates :title, presence: true validates :body, presence: true, length: { minimum: 10 } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
upgrow-0.0.2 | test/dummy/app/inputs/article_input.rb |