2020-03-09 11:27:52 +01:00
|
|
|
# frozen_string_literal: true
|
2016-02-19 08:39:30 +01:00
|
|
|
|
2020-03-09 11:27:52 +01:00
|
|
|
module FactoryHelper
|
2016-02-19 08:39:30 +01:00
|
|
|
PAPER_TYPES = [
|
2020-03-09 11:27:52 +01:00
|
|
|
'Verwaltungsstandpunkt',
|
|
|
|
'Anfrage',
|
|
|
|
'Beschlussvorlage',
|
|
|
|
'Änderungsantrag',
|
|
|
|
'Antrag',
|
|
|
|
'Neufassung',
|
|
|
|
'Informationsvorlage',
|
|
|
|
'Einwohneranfrage',
|
|
|
|
'Petition',
|
|
|
|
'schriftliche Antwort zur Anfrage',
|
|
|
|
'Wichtige Angelegenheit',
|
|
|
|
'Eilentscheidung',
|
|
|
|
'Dringliche Anfrage'
|
|
|
|
].freeze
|
2016-02-19 08:39:30 +01:00
|
|
|
|
|
|
|
def self.paper_type
|
|
|
|
PAPER_TYPES.sample
|
|
|
|
end
|
|
|
|
|
2020-03-09 11:27:52 +01:00
|
|
|
REFERENCE = 'A-%05i/16'
|
2016-02-20 07:47:43 +01:00
|
|
|
|
|
|
|
def self.reference(seq)
|
|
|
|
REFERENCE % seq
|
|
|
|
end
|
2016-02-19 08:39:30 +01:00
|
|
|
end
|