Class: OIDCProvider::Scope
- Inherits:
-
Object
- Object
- OIDCProvider::Scope
- Defined in:
- lib/oidc_provider/scope.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#work ⇒ Object
Returns the value of attribute work.
Instance Method Summary collapse
-
#initialize(name, &block) ⇒ Scope
constructor
A new instance of Scope.
Constructor Details
#initialize(name, &block) ⇒ Scope
Returns a new instance of Scope.
5 6 7 8 |
# File 'lib/oidc_provider/scope.rb', line 5 def initialize(name, &block) @name = name @work = block end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/oidc_provider/scope.rb', line 3 def name @name end |
#work ⇒ Object
Returns the value of attribute work.
3 4 5 |
# File 'lib/oidc_provider/scope.rb', line 3 def work @work end |