class Doorkeeper::OAuth::Scopes
def self.from_string(string)
def self.from_string(string) string ||= "" new.tap do |scope| scope.add(*string.split) end end
def self.from_string(string) string ||= "" new.tap do |scope| scope.add(*string.split) end end