Sha256: 3ac8bfa29a02dd9c04162ad6694fc23983ea123849d34d2848ea09f68afefa9d

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

module Doorkeeper
  module Models
    module Mongoid4
      module Scopes
        extend ActiveSupport::Concern

        included do
          field :scopes, type: String
        end

        def scopes=(value)
          write_attribute :scopes, value
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
dd-doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.2.2 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb