mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
29 lines
490 B
Ruby
29 lines
490 B
Ruby
module FactoryHelper
|
|
|
|
PAPER_TYPES = [
|
|
"Verwaltungsstandpunkt",
|
|
"Anfrage",
|
|
"Beschlussvorlage",
|
|
"Änderungsantrag",
|
|
"Antrag",
|
|
"Neufassung",
|
|
"Informationsvorlage",
|
|
"Einwohneranfrage",
|
|
"Petition",
|
|
"schriftliche Antwort zur Anfrage",
|
|
"Wichtige Angelegenheit",
|
|
"Eilentscheidung",
|
|
"Dringliche Anfrage"
|
|
]
|
|
|
|
def self.paper_type
|
|
PAPER_TYPES.sample
|
|
end
|
|
|
|
REFERENCE = "A-%05i/16"
|
|
|
|
def self.reference(seq)
|
|
REFERENCE % seq
|
|
end
|
|
|
|
end
|