summaryrefslogtreecommitdiff
path: root/provider_base/provider.rb
blob: 40a93574042f7e2c9f92942964e91cacfd2291af (plain)
1
2
3
4
5
unless ['open', 'invite', 'closed'].include?(self.enrollment_policy)
  LeapCli.log :error, "in provider config" do
    LeapCli.log "The value of enrollment_policy must be one of 'open', 'invite', or 'closed'."
  end
end