Class: Decidim::Core::SessionType
- Inherits:
-
Api::Types::BaseObject
- Object
- Api::Types::BaseObject
- Decidim::Core::SessionType
- Defined in:
- lib/decidim/api/types/session_type.rb
Overview
This type represents the current user session.
Instance Method Summary collapse
Instance Method Details
#user ⇒ Object
11 12 13 |
# File 'lib/decidim/api/types/session_type.rb', line 11 def user object end |
#verified_user_groups ⇒ Object
17 18 19 |
# File 'lib/decidim/api/types/session_type.rb', line 17 def verified_user_groups Decidim::UserGroups::ManageableUserGroups.for(object).verified end |