Sha256: a245c2e1218f3ba0da3c9d6264ff0c12d3151c7a822d6e695ade94f20bb60598

Contents?: true

Size: 310 Bytes

Versions: 12

Compression:

Stored size: 310 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 if value.present?
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
doorkeeper-2.2.1 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.2.0 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.1.4 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.1.3 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.1.2 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.1.1 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.1.0 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.0.1 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.0.0 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.0.0.rc3 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.0.0.rc2 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
doorkeeper-2.0.0.alpha1 lib/doorkeeper/orm/mongoid4/concerns/scopes.rb