Sha256: 1e59818065bdf878edfa143b4faf48c1efdde81c9597e40705b45a71c64a0c3b

Contents?: true

Size: 242 Bytes

Versions: 6

Compression:

Stored size: 242 Bytes

Contents

module Doorkeeper
  class Scope
    attr_reader :name, :default, :description

    def initialize(name, options = {})
      @name = name
      @default = options[:default] || false
      @description = options[:description]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
doorkeeper-0.3.4 lib/doorkeeper/config/scope.rb
doorkeeper-0.3.3 lib/doorkeeper/config/scope.rb
doorkeeper-0.3.2 lib/doorkeeper/config/scope.rb
doorkeeper-0.3.1 lib/doorkeeper/config/scope.rb
doorkeeper-0.3.0 lib/doorkeeper/config/scope.rb
doorkeeper-0.2.0 lib/doorkeeper/config/scope.rb