files.com 1.1.78 → 1.1.79

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79ec4f7fc4d8091ac92dda83aea7c4724c89ad10ab0eeac34775e0d9232cb9ad
4
- data.tar.gz: a43e8c690405f9ec0c73d16955534382f4e7e7639ea046bab88e6e9b912fd4c4
3
+ metadata.gz: 86fcb154b4213de2ee8e0006bdfc8f76404b2be76df750069bfb90dc3a3b8106
4
+ data.tar.gz: f351c81263aa23c2d3298f189d2e1546ed765db045caea19dff5a613ae03b99c
5
5
  SHA512:
6
- metadata.gz: d5242a5ac7d6b06f9d59de50d3d38585bd70ff3ac742f9a61f0cb06c7b6de1791b6478c33038e90fe8d4e7c902ea5c09c9fe00b2a5a45ea22a6d8ddeaa732e52
7
- data.tar.gz: 1cbb0b88fa1d4c206515af83d674bf954496446a69ca9476980593aacb2f1199d15adec081be5c3b8e092b5574b2e8d7608840e22dfec8da53a95128b45a507f
6
+ metadata.gz: 31f132008edd388c6086eeb13e7659749372228c4f00d588136e024c9f7d38984e0d82e9debc3de9ef95461fdc55acc54fad7840dfb4015059b920f44ffbe7b6
7
+ data.tar.gz: 1722951b07245b993d99bed566779ed60aa557fbc806eabae6ed44ed50d368c22f1d4a7a60e029b9b93f1f2d727385a18f42b5d21324aed160ff33f482ab0070
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.78
1
+ 1.1.79
@@ -18,6 +18,7 @@
18
18
  "api_name": "example",
19
19
  "user_agent": "example",
20
20
  "error_type": "example",
21
+ "error_message": "example",
21
22
  "response_code": 1,
22
23
  "success": true,
23
24
  "duration_ms": 1
@@ -38,6 +39,7 @@
38
39
  * `api_name` (string): Name of API Endpoint
39
40
  * `user_agent` (string): User-Agent
40
41
  * `error_type` (string): Error type, if applicable
42
+ * `error_message` (string): Error message, if applicable
41
43
  * `response_code` (int64): HTTP Response Code
42
44
  * `success` (boolean): `false` if HTTP Response Code is 4xx or 5xx
43
45
  * `duration_ms` (int64): Duration (in milliseconds)
@@ -212,6 +212,8 @@ module Files
212
212
  class ServiceUnavailableError < APIError; end
213
213
  class AgentUnavailableError < ServiceUnavailableError; end
214
214
  class AutomationsUnavailableError < ServiceUnavailableError; end
215
+ class MigrationInProgressError < ServiceUnavailableError; end
216
+ class SiteDisabledError < ServiceUnavailableError; end
215
217
  class UploadsUnavailableError < ServiceUnavailableError; end
216
218
 
217
219
  class SiteConfigurationError < APIError; end
@@ -79,6 +79,11 @@ module Files
79
79
  @attributes[:error_type]
80
80
  end
81
81
 
82
+ # string - Error message, if applicable
83
+ def error_message
84
+ @attributes[:error_message]
85
+ end
86
+
82
87
  # int64 - HTTP Response Code
83
88
  def response_code
84
89
  @attributes[:response_code]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.78"
4
+ VERSION = "1.1.79"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.78
4
+ version: 1.1.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com