diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-12-05 22:55:53 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-12-16 16:29:32 +0530 |
commit | b303948ff549ce57d3b6985c2c366dfcdc5a2ca3 (patch) | |
tree | 3d286b8704e63cf8c26b10a1f0c538d77f24ab6b /lib/api/commit_statuses.rb | |
parent | f706a973c26f9de9a1f1599d532b33e9e66a80bb (diff) | |
download | gitlab-ce-b303948ff549ce57d3b6985c2c366dfcdc5a2ca3.tar.gz |
Convert AccessTokenValidationService into a class.
- Previously, AccessTokenValidationService was a module, and all its public
methods accepted a token. It makes sense to convert it to a class which accepts
a token during initialization.
- Also rename the `sufficient_scope?` method to `include_any_scope?`
- Based on feedback from @rymai
Diffstat (limited to 'lib/api/commit_statuses.rb')
0 files changed, 0 insertions, 0 deletions