files.com 1.1.657 → 1.1.658
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/_VERSION +1 -1
- data/docs/chat_session.md +3 -3
- data/lib/files.com/models/chat_session.rb +3 -3
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 817a3ee68b975896e3d38bc5d9fe93e895f2dec303a81c4bfd03efcf4a9fb47b
|
|
4
|
+
data.tar.gz: 5fd6014863c9a27513bf993f040301afb3c7fd49cca2090099cc043ffb093009
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50c38a117388f27629f90559750f6a935bfe4c5c73be92ddb98fed204449982f1e97a4148689a4e728462bacd53a191895585aa20af4aafd0fdca6d49855dc68
|
|
7
|
+
data.tar.gz: e5e103105b5ecefdfe7bbfc331cba66a1ceee61f7258c967092bd86d12b235893fc433c78a3cf65cd72d5f82a85aedf21100d1daf9232db094eef3d652cb6f49
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.658
|
data/docs/chat_session.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
|
-
"id":
|
|
7
|
+
"id": "example",
|
|
8
8
|
"user_id": 1,
|
|
9
9
|
"workspace_id": 1,
|
|
10
10
|
"last_active_at": "2000-01-01T01:00:00Z",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
* `id` (
|
|
23
|
+
* `id` (string): Chat Session ID.
|
|
24
24
|
* `user_id` (int64): User ID.
|
|
25
25
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
26
26
|
* `last_active_at` (date-time): Most recent chat activity date/time.
|
|
@@ -52,4 +52,4 @@ Files::ChatSession.find(id)
|
|
|
52
52
|
|
|
53
53
|
### Parameters
|
|
54
54
|
|
|
55
|
-
* `id` (
|
|
55
|
+
* `id` (string): Required - Chat Session ID.
|
|
@@ -9,7 +9,7 @@ module Files
|
|
|
9
9
|
@options = options || {}
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# string - Chat Session ID.
|
|
13
13
|
def id
|
|
14
14
|
@attributes[:id]
|
|
15
15
|
end
|
|
@@ -56,11 +56,11 @@ module Files
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# Parameters:
|
|
59
|
-
# id (required) -
|
|
59
|
+
# id (required) - string - Chat Session ID.
|
|
60
60
|
def self.find(id, params = {}, options = {})
|
|
61
61
|
params ||= {}
|
|
62
62
|
params[:id] = id
|
|
63
|
-
raise InvalidParameterError.new("Bad parameter: id must be an
|
|
63
|
+
raise InvalidParameterError.new("Bad parameter: id must be an String") if params[:id] and !params[:id].is_a?(String)
|
|
64
64
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
65
65
|
|
|
66
66
|
response, options = Api.send_request("/chat_sessions/#{params[:id]}", :get, params, options)
|
data/lib/files.com/version.rb
CHANGED