Sha256: 3eeee83da710575778231d3dcae934ed1e3823dc622e96c1f073162703fdfc7e

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

module Doorkeeper
  module Models
    module Mongoid5
      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

2 entries across 2 versions & 2 rubygems

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