lib/qismo/objects/user.rb in qismo-0.14.0 vs lib/qismo/objects/user.rb in qismo-0.15.0
- old
+ new
@@ -1,17 +1,23 @@
module Qismo
module Objects
+ # User object
+ #
class User < Qismo::Object
+ # User channel object
+ #
class Channel < Qismo::Object
# @!attribute [r] id
# @return [Integer]
attribute? :id, Types::Int.optional
# @!attribute [r] name
# @return [String]
attribute? :name, Types::String.optional
end
+ # User role object
+ #
class Role < Qismo::Object
# @!attribute [r] id
# @return [Integer]
attribute? :id, Types::Int.optional