module Doorkeeper::Models::Scopes

def scopes

def scopes
  OAuth::Scopes.from_string(scopes_string)
end