Class: Qismo::Objects::User::Role
- Inherits:
-
Qismo::Object
- Object
- Dry::Struct
- Qismo::Object
- Qismo::Objects::User::Role
- Defined in:
- lib/qismo/objects/user.rb
Overview
User role object
Constant Summary
Constants included from Types
Types::Bool, Types::Hash, Types::Int, Types::String
Instance Attribute Summary collapse
- #id ⇒ Integer readonly
- #name ⇒ String readonly
Method Summary
Methods inherited from Qismo::Object
Instance Attribute Details
#id ⇒ Integer (readonly)
23 |
# File 'lib/qismo/objects/user.rb', line 23 attribute? :id, Types::Int.optional |
#name ⇒ String (readonly)
27 |
# File 'lib/qismo/objects/user.rb', line 27 attribute? :name, Types::String.optional |