files.com 1.0.86 → 1.0.87

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: 81661c828a286bf493ec4a3e8c1fbf4251f279da18453c6ae6f25512796f7590
4
- data.tar.gz: 2b1c301a03bce524e18b063e264c181e1101275e1da3900f77bb0ee0c4960544
3
+ metadata.gz: f01b53ca0c7c7b36823f3491b734b34c49c0f73d162cd26ecf889c2ffe56f51f
4
+ data.tar.gz: 52257583ef8bd456c4c13050fb158ecb5960c7e93df232cd15935818dc2832c0
5
5
  SHA512:
6
- metadata.gz: 5a32070df0f67ae167a2a096e291ccf303477191fbdb1ab4caa923709492405c744198304b6f55980b9a90bbe53607aa0ffb7d1e242b0e8a82588f527ae559a7
7
- data.tar.gz: cb5bee0eaa8834145d9fd17f76c175eea7a344bf8ea8438b36724b61df807a1ad0848447c29aa6ee7d90b74acf7dce55cf55caa7d8cd949b2c92347b9c2d9943
6
+ metadata.gz: 1da075cbed34fec1c0e377605e8819b18596d7fcc24bd71e0804644a0acab078c23d9f5a8508c95d0b654f1d8089c9408a08a7f04a69089d29fa2dd09d9c83ce
7
+ data.tar.gz: '0700287ed8c2d7820dd9991bd9bd26d90462f7c3f75fc212d6f35acf57ca07d2f3a85332200ddd45bf252e6cc7136b89eced49e570fb1286f12cfeb22751d910'
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.86
1
+ 1.0.87
@@ -18,7 +18,7 @@
18
18
  * `body` (string): Message body.
19
19
  * `comments` (array): Comments.
20
20
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
21
- * `project_id` (int64): Project to attach the message to.
21
+ * `project_id` (int64): Project to which the message should be attached.
22
22
 
23
23
 
24
24
  ---
@@ -40,7 +40,7 @@ Files::Message.list(
40
40
  * `page` (int64): Current page number.
41
41
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
42
42
  * `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
43
- * `project_id` (int64): Required - Project to return messages for.
43
+ * `project_id` (int64): Required - Project for which to return messages.
44
44
 
45
45
 
46
46
  ---
@@ -64,15 +64,15 @@ Files::Message.find(id)
64
64
  Files::Message.create(
65
65
  user_id: 1,
66
66
  project_id: 1,
67
- subject: "subject",
68
- body: "body"
67
+ subject: "Files.com Account Upgrade",
68
+ body: "We should upgrade our Files.com account!"
69
69
  )
70
70
  ```
71
71
 
72
72
  ### Parameters
73
73
 
74
74
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
75
- * `project_id` (int64): Required - Project to attach the message to.
75
+ * `project_id` (int64): Required - Project to which the message should be attached.
76
76
  * `subject` (string): Required - Message subject.
77
77
  * `body` (string): Required - Message body.
78
78
 
@@ -84,15 +84,15 @@ Files::Message.create(
84
84
  ```
85
85
  Files::Message.update(id,
86
86
  project_id: 1,
87
- subject: "subject",
88
- body: "body"
87
+ subject: "Files.com Account Upgrade",
88
+ body: "We should upgrade our Files.com account!"
89
89
  )
90
90
  ```
91
91
 
92
92
  ### Parameters
93
93
 
94
94
  * `id` (int64): Required - Message ID.
95
- * `project_id` (int64): Required - Project to attach the message to.
95
+ * `project_id` (int64): Required - Project to which the message should be attached.
96
96
  * `subject` (string): Required - Message subject.
97
97
  * `body` (string): Required - Message body.
98
98
 
@@ -119,15 +119,15 @@ message = Files::Message.list_for(path).first
119
119
 
120
120
  message.update(
121
121
  project_id: 1,
122
- subject: "subject",
123
- body: "body"
122
+ subject: "Files.com Account Upgrade",
123
+ body: "We should upgrade our Files.com account!"
124
124
  )
125
125
  ```
126
126
 
127
127
  ### Parameters
128
128
 
129
129
  * `id` (int64): Required - Message ID.
130
- * `project_id` (int64): Required - Project to attach the message to.
130
+ * `project_id` (int64): Required - Project to which the message should be attached.
131
131
  * `subject` (string): Required - Message subject.
132
132
  * `body` (string): Required - Message body.
133
133
 
@@ -54,7 +54,7 @@ module Files
54
54
  @attributes[:user_id] = value
55
55
  end
56
56
 
57
- # int64 - Project to attach the message to.
57
+ # int64 - Project to which the message should be attached.
58
58
  def project_id
59
59
  @attributes[:project_id]
60
60
  end
@@ -64,7 +64,7 @@ module Files
64
64
  end
65
65
 
66
66
  # Parameters:
67
- # project_id (required) - int64 - Project to attach the message to.
67
+ # project_id (required) - int64 - Project to which the message should be attached.
68
68
  # subject (required) - string - Message subject.
69
69
  # body (required) - string - Message body.
70
70
  def update(params = {})
@@ -111,7 +111,7 @@ module Files
111
111
  # page - int64 - Current page number.
112
112
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
113
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
114
- # project_id (required) - int64 - Project to return messages for.
114
+ # project_id (required) - int64 - Project for which to return messages.
115
115
  def self.list(params = {}, options = {})
116
116
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
117
117
  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
@@ -148,7 +148,7 @@ module Files
148
148
 
149
149
  # Parameters:
150
150
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
151
- # project_id (required) - int64 - Project to attach the message to.
151
+ # project_id (required) - int64 - Project to which the message should be attached.
152
152
  # subject (required) - string - Message subject.
153
153
  # body (required) - string - Message body.
154
154
  def self.create(params = {}, options = {})
@@ -165,7 +165,7 @@ module Files
165
165
  end
166
166
 
167
167
  # Parameters:
168
- # project_id (required) - int64 - Project to attach the message to.
168
+ # project_id (required) - int64 - Project to which the message should be attached.
169
169
  # subject (required) - string - Message subject.
170
170
  # body (required) - string - Message body.
171
171
  def self.update(id, params = {}, options = {})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.86
4
+ version: 1.0.87
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-13 00:00:00.000000000 Z
11
+ date: 2020-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable