Module: Doorkeeper::Models::Mongoid4::Scopes

Extended by:
ActiveSupport::Concern
Included in:
AccessGrant, AccessToken, Application
Defined in:
lib/doorkeeper/orm/mongoid4/concerns/scopes.rb

Instance Method Summary collapse

Instance Method Details

#scopes=(value) ⇒ Object


11
12
13
# File 'lib/doorkeeper/orm/mongoid4/concerns/scopes.rb', line 11

def scopes=(value)
  write_attribute :scopes, value if value.present?
end