dyte 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/dyte/resources/meetings.rb +10 -0
- data/lib/dyte/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c52eb75aa2c387f5d6ba0a020774e39a0bc0fc4145e6d0479f517c4274c9ce03
|
4
|
+
data.tar.gz: 17a4c2efd7d7f5d0f66d82f3b23dda5de6fabba3a57688647f17503e3338010f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5424e1e0f338d08616eb5611f399d5260b0e20049df51c9b6c45c46d15c9bfa4cdb6be14a2fafab310e3ca3f601fc98b515b1c16329e0a06425e54886521cae0
|
7
|
+
data.tar.gz: bb4b863e2fdf39fce16854ad861e4849db76294f5dd03fd90e2fefe1ec4d2b864f5a5181e167a78f237c8c56b5a7b11be0fa2d4e2d4a9d160d214a0f7c85fa6a
|
data/README.md
CHANGED
@@ -46,6 +46,12 @@ client.meetings.regenerate_token(meeting_id: "id", participant_id: "id")
|
|
46
46
|
|
47
47
|
# Returns all participants for the given meeting ID.
|
48
48
|
client.meetings.fetch_participants(meeting_id: "id")
|
49
|
+
|
50
|
+
# Returns a participant for the given meeting and participant ID.
|
51
|
+
client.meetings.fetch_participant_details(meeting_id: "id", participant_id: "id")
|
52
|
+
|
53
|
+
# Edits a participant for the given meeting and participant ID.
|
54
|
+
client.meetings.edit_participant_details(meeting_id: "id", participant_id: "id")
|
49
55
|
```
|
50
56
|
### Presets
|
51
57
|
|
@@ -33,5 +33,15 @@ module Dyte
|
|
33
33
|
def delete_participant(meeting_id:, participant_id:)
|
34
34
|
delete_request("meetings/#{meeting_id}/participants/#{participant_id}")
|
35
35
|
end
|
36
|
+
|
37
|
+
def fetch_participant_details(meeting_id:, participant_id:)
|
38
|
+
response = get_request("meetings/#{meeting_id}/participants/#{participant_id}")
|
39
|
+
Participant.new response.body.dig("data")
|
40
|
+
end
|
41
|
+
|
42
|
+
def edit_participant_details(meeting_id:, participant_id:, attributes:)
|
43
|
+
response = patch_request("meetings/#{meeting_id}/participants/#{participant_id}", body: attributes)
|
44
|
+
Participant.new response.body.dig("data")
|
45
|
+
end
|
36
46
|
end
|
37
47
|
end
|
data/lib/dyte/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dyte
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Warwick
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|