-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathsetup.rb
More file actions
29 lines (26 loc) · 642 Bytes
/
setup.rb
File metadata and controls
29 lines (26 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# frozen_string_literal: true
module Html2rss
module Web
module Boot
##
# Applies boot-time runtime configuration outside the Roda class body.
module Setup
class << self
# Validates environment configuration.
#
# @return [void]
def call!
validate_environment!
end
private
# @return [void]
def validate_environment!
EnvironmentValidator.validate_environment!
EnvironmentValidator.validate_production_security!
Flags.validate!
end
end
end
end
end
end