summaryrefslogtreecommitdiff
path: root/app/models/service_level.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/service_level.rb')
-rw-r--r--app/models/service_level.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/service_level.rb b/app/models/service_level.rb
index 5dd8838..a8df55b 100644
--- a/app/models/service_level.rb
+++ b/app/models/service_level.rb
@@ -24,6 +24,14 @@ class ServiceLevel
end
end
+ def provides?(service)
+ services.include? service
+ end
+
+ def services
+ config_hash[:services] || []
+ end
+
protected
def limited_cert?