Fix new rubocop warnings
This commit is contained in:
parent
fbd6909b91
commit
6c2093b29d
21 changed files with 51 additions and 0 deletions
|
@ -40,6 +40,7 @@ class RequestToken < OauthToken
|
|||
|
||||
def authorize!(user)
|
||||
return false if authorized?
|
||||
|
||||
self.user = user
|
||||
self.authorized_at = Time.now
|
||||
self.verifier = OAuth::Helper.generate_key(20)[0, 20] unless oauth10?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue