Class: Soar::Authentication::Identity::Model
- Inherits:
-
Object
- Object
- Soar::Authentication::Identity::Model
- Defined in:
- lib/soar/authentication/identity/model.rb
Instance Attribute Summary collapse
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Instance Method Summary collapse
- #directory ⇒ Object
-
#initialize(provider) ⇒ Model
constructor
A new instance of Model.
- #role ⇒ Object
- #uuid ⇒ Object
Constructor Details
#initialize(provider) ⇒ Model
Returns a new instance of Model.
12 13 14 |
# File 'lib/soar/authentication/identity/model.rb', line 12 def initialize(provider) @provider = provider end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
10 11 12 |
# File 'lib/soar/authentication/identity/model.rb', line 10 def provider @provider end |
Instance Method Details
#directory ⇒ Object
24 25 26 |
# File 'lib/soar/authentication/identity/model.rb', line 24 def directory @provider.directory end |
#role ⇒ Object
20 21 22 |
# File 'lib/soar/authentication/identity/model.rb', line 20 def role @provider.role end |
#uuid ⇒ Object
16 17 18 |
# File 'lib/soar/authentication/identity/model.rb', line 16 def uuid @provider.uuid end |