Class: SwitchUser::GuestRecord
- Inherits:
-
Struct
- Object
- Struct
- SwitchUser::GuestRecord
- Defined in:
- lib/switch_user/data_source.rb
Instance Attribute Summary collapse
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
Instance Attribute Details
#scope ⇒ Object
Returns the value of attribute scope
8 9 10 |
# File 'lib/switch_user/data_source.rb', line 8 def scope @scope end |
Instance Method Details
#equivalent?(other_scope_id) ⇒ Boolean
9 10 11 |
# File 'lib/switch_user/data_source.rb', line 9 def equivalent?(other_scope_id) scope_id == other_scope_id end |
#label ⇒ Object
13 14 15 |
# File 'lib/switch_user/data_source.rb', line 13 def label "Guest" end |
#scope_id ⇒ Object
17 18 |
# File 'lib/switch_user/data_source.rb', line 17 def scope_id end |