dyte 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/dyte/resources/sessions.rb +4 -4
- 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: bb0e6b7dd2bbfbe01192bf25c4172c482cab0214fc93071f83c3a9b2ddcbe0ba
|
4
|
+
data.tar.gz: 79bae7af5887bb11aebe10e6c6a227cf977546014498c3a25fe7cff93e2b411b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00bcc5e262e6d8d52203e64de30e85f40e4166d29cdf409342d645fe06472332b829324ae51b5f33b15cb083cc7dcd31dccd6cfbfe644ca6d1952aeccdc1a50e
|
7
|
+
data.tar.gz: aabdec40c608104026629c8ed432f351d680afdef9186483230bcdb1ba640c5b92cf4eeece0fe7d64c20fe9a59e1b72aef82b2d542c4197568ff10008b7d3710
|
data/README.md
CHANGED
@@ -41,6 +41,13 @@ client.presets.create({})
|
|
41
41
|
client.presets.update(preset_id: "id", {})
|
42
42
|
```
|
43
43
|
### Sessions
|
44
|
+
```ruby
|
45
|
+
client.sessions.list
|
46
|
+
client.sessions.fetch(session_id: "id")
|
47
|
+
client.sessions.fetch_participants(session_id: "id")
|
48
|
+
client.sessions.participant_details(session_id: "id", participant_id: "id")
|
49
|
+
client.sessions.chat_messages(session_id: "id")
|
50
|
+
```
|
44
51
|
### Participants
|
45
52
|
|
46
53
|
## Development
|
@@ -15,12 +15,12 @@ module Dyte
|
|
15
15
|
Session.new get_request("sessions/#{session_id}/participants").body.dig("data")
|
16
16
|
end
|
17
17
|
|
18
|
-
def
|
19
|
-
Session.new
|
18
|
+
def participant_details(session_id:, participant_id:)
|
19
|
+
Session.new get_request("sessions/#{session_id}/participants/#{participant_id}").body.dig("data")
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
23
|
-
Session.new
|
22
|
+
def chat_messages(session_id:)
|
23
|
+
Session.new get_request("sessions/#{session_id}/chat").body.dig("data")
|
24
24
|
end
|
25
25
|
end
|
26
26
|
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.3.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-08-
|
11
|
+
date: 2023-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|