Commit efb3a162 authored by Shaun McCann's avatar Shaun McCann

Merge branch 'docs/get-license-via-rails' into 'master'

Docs - how to get license details via Rails console

See merge request gitlab-org/gitlab!33123
parents ffb2286c bd9b329c
...@@ -620,10 +620,26 @@ Gitlab::CurrentSettings.current_application_settings.runners_registration_token ...@@ -620,10 +620,26 @@ Gitlab::CurrentSettings.current_application_settings.runners_registration_token
## License ## License
### See license plan name (since v9.3.0-ee) ### See current license information
```ruby ```ruby
# License information (name, company, email address)
License.current.licensee
# Plan:
License.current.plan License.current.plan
# Uploaded:
License.current.created_at
# Started:
License.current.starts_at
# Expires at:
License.current.expires_at
# Is this a trial license?
License.current.trial?
``` ```
### Check if a project feature is available on the instance ### Check if a project feature is available on the instance
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment