Sha256: 0d527f60044e035d82950b2f832dd9e77674ed5f2a0af3d9f9b5f56f6c44e122
Contents?: true
Size: 390 Bytes
Versions: 23
Compression:
Stored size: 390 Bytes
Contents
module Doorkeeper module Models module Scopes def self.included(base) base.class_eval do define_method :scopes do Doorkeeper::OAuth::Scopes.from_string(self[:scopes]) end define_method :scopes_string do Doorkeeper::OAuth::Scopes.from_string(self[:scopes]).to_s end end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems