Class: Oksky::Chat::Object::SupervisorsResource
Instance Method Summary
collapse
#avatar_url, #created_at, #created_at_unix, #default_avatar_url, #email, #full_name, #gravatar_id, #in_training, #is_active, #language, #login_count, #max_support_count, #name, #relationships, #status, #timezone, #user, #user_type, #user_typings, #username, #uuid
Methods inherited from Base
#[], #initialize
Instance Method Details
6
7
8
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 6
def id
@src.dig("id")
end
|
#members ⇒ Array
21
22
23
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 21
def members
relationships.dig("members", "data")
end
|
#present_rooms ⇒ Array
11
12
13
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 11
def present_rooms
relationships.dig("present_rooms", "data")
end
|
#rooms ⇒ Array
31
32
33
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 31
def rooms
relationships.dig("rooms", "data")
end
|
#starred_customers ⇒ Array
41
42
43
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 41
def starred_customers
relationships.dig("starred_customers", "data")
end
|
#starred_rooms ⇒ Array
36
37
38
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 36
def starred_rooms
relationships.dig("starred_rooms", "data")
end
|
#support_rooms ⇒ Array
16
17
18
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 16
def support_rooms
relationships.dig("support_rooms", "data")
end
|
#supports ⇒ Array
26
27
28
|
# File 'lib/oksky/chat/object/supervisors_resource.rb', line 26
def supports
relationships.dig("supports", "data")
end
|