Class: Qismo::Objects::User::Role

Inherits:
Qismo::Object show all
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

Method Summary

Methods inherited from Qismo::Object

from_array

Instance Attribute Details

#idInteger (readonly)

Returns:

  • (Integer)


23
# File 'lib/qismo/objects/user.rb', line 23

attribute? :id, Types::Int.optional

#nameString (readonly)

Returns:



27
# File 'lib/qismo/objects/user.rb', line 27

attribute? :name, Types::String.optional