eyeson 2.4.1 → 2.5.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 +4 -1
- data/lib/eyeson/recording.rb +9 -4
- data/lib/eyeson/requests.rb +1 -1
- data/lib/eyeson/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 174cadbcaa1f78ae169d6144f245c8fdd2121b6d
|
4
|
+
data.tar.gz: 7d398072b5c9a6462b98201c4c0d66e6ed5adb97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd3e43f0f2255a72b7f4f188daa964d8fab505ba20b4db38190d31a54f69822eec8f2a79a5e066684595f654eda6d45a4cc029a82426a899ea4a17268fe536e9
|
7
|
+
data.tar.gz: 98df8da23e89c1383b8189fd15d914700bc0cae06ecb9d6226b09b3f1b01d10ac08c76526d6bc6c73f68b1c3fdcef90955bae43b3fdc03515065b17e3b5b848d
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
# Eyeson
|
2
|
+
|
3
|
+
[](https://travis-ci.org/eyeson-team/eyeson-ruby)
|
4
|
+
|
2
5
|
eyeson ruby sdk for service app implementation
|
3
6
|
|
4
7
|
## Installation
|
@@ -52,7 +55,7 @@ The meeting room will be available immediately:
|
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
# Temporary access key - only valid for current session:
|
55
|
-
# access_key = room.access_key
|
58
|
+
# access_key = room.access_key
|
56
59
|
|
57
60
|
redirect_to room.url
|
58
61
|
```
|
data/lib/eyeson/recording.rb
CHANGED
@@ -4,17 +4,22 @@ module Eyeson
|
|
4
4
|
class NotFound < StandardError
|
5
5
|
end
|
6
6
|
|
7
|
-
attr_reader :url
|
7
|
+
attr_reader :id, :url
|
8
8
|
|
9
|
-
def initialize(url)
|
9
|
+
def initialize(id, url)
|
10
|
+
@id = id
|
10
11
|
@url = url
|
11
12
|
end
|
12
13
|
|
13
14
|
def self.find(recording_id)
|
14
|
-
response = Eyeson.get
|
15
|
+
response = Eyeson.get "/recordings/#{recording_id}"
|
15
16
|
links = response['links']
|
16
17
|
raise NotFound if links.nil?
|
17
|
-
Recording.new
|
18
|
+
Recording.new recording_id, links['download']
|
19
|
+
end
|
20
|
+
|
21
|
+
def delete
|
22
|
+
Eyeson.delete "/recordings/#{id}"
|
18
23
|
end
|
19
24
|
end
|
20
25
|
end
|
data/lib/eyeson/requests.rb
CHANGED
data/lib/eyeson/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyeson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Maier
|
8
|
+
- Christoph Lipautz
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2018-
|
12
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: activesupport
|