Class: OauthAccessToken

Inherits:
Doorkeeper::AccessToken
  • Object
show all
Defined in:
app/models/oauth_access_token.rb

Instance Method Summary collapse

Instance Method Details

#scopes=(value) ⇒ Object


13
14
15
16
17
18
19
# File 'app/models/oauth_access_token.rb', line 13

def scopes=(value)
  if value.is_a?(Array)
    super(Doorkeeper::OAuth::Scopes.from_array(value).to_s)
  else
    super
  end
end