Sha256: 71e1ac3349d6ac459dd995a16fe0c928ea8d4b8b8d9636af7b79351d9c1a35d0

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

module Boxroom::Search::Contract
  class FilesAndFolders < Reform::Form
    property :term, virtual: true
    property :folder_id, virtual: true

    validates :folder_id, presence: true
    validates :term, length: {minimum: 3}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
boxroom-0.0.2 app/concepts/boxroom/search/contract/files_and_folders.rb
boxroom-0.0.1 app/concepts/boxroom/search/contract/files_and_folders.rb