files.com 1.0.495 → 1.1.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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/_VERSION +1 -1
  4. data/lib/files.com/models/action_notification_export.rb +3 -1
  5. data/lib/files.com/models/action_webhook_failure.rb +2 -2
  6. data/lib/files.com/models/api_key.rb +10 -6
  7. data/lib/files.com/models/as2_partner.rb +8 -4
  8. data/lib/files.com/models/as2_station.rb +8 -4
  9. data/lib/files.com/models/automation.rb +10 -6
  10. data/lib/files.com/models/behavior.rb +10 -6
  11. data/lib/files.com/models/bundle.rb +10 -6
  12. data/lib/files.com/models/bundle_notification.rb +8 -4
  13. data/lib/files.com/models/bundle_recipient.rb +3 -1
  14. data/lib/files.com/models/clickwrap.rb +8 -4
  15. data/lib/files.com/models/external_event.rb +3 -1
  16. data/lib/files.com/models/file.rb +5 -2
  17. data/lib/files.com/models/file_comment.rb +8 -4
  18. data/lib/files.com/models/file_comment_reaction.rb +7 -3
  19. data/lib/files.com/models/folder.rb +1 -0
  20. data/lib/files.com/models/form_field_set.rb +8 -4
  21. data/lib/files.com/models/gpg_key.rb +8 -4
  22. data/lib/files.com/models/group.rb +8 -4
  23. data/lib/files.com/models/group_user.rb +8 -4
  24. data/lib/files.com/models/history_export.rb +3 -1
  25. data/lib/files.com/models/inbox_recipient.rb +3 -1
  26. data/lib/files.com/models/lock.rb +5 -2
  27. data/lib/files.com/models/message.rb +8 -4
  28. data/lib/files.com/models/message_comment.rb +8 -4
  29. data/lib/files.com/models/message_comment_reaction.rb +7 -3
  30. data/lib/files.com/models/message_reaction.rb +7 -3
  31. data/lib/files.com/models/notification.rb +8 -4
  32. data/lib/files.com/models/permission.rb +7 -3
  33. data/lib/files.com/models/project.rb +8 -4
  34. data/lib/files.com/models/public_key.rb +8 -4
  35. data/lib/files.com/models/remote_server.rb +8 -4
  36. data/lib/files.com/models/request.rb +7 -3
  37. data/lib/files.com/models/session.rb +6 -3
  38. data/lib/files.com/models/sftp_host_key.rb +8 -4
  39. data/lib/files.com/models/share_group.rb +8 -4
  40. data/lib/files.com/models/snapshot.rb +8 -4
  41. data/lib/files.com/models/sso_strategy.rb +2 -2
  42. data/lib/files.com/models/style.rb +7 -3
  43. data/lib/files.com/models/user.rb +14 -10
  44. data/lib/files.com/models/user_request.rb +7 -3
  45. data/lib/files.com/models/webhook_test.rb +3 -1
  46. data/lib/files.com/version.rb +1 -1
  47. metadata +3 -3
@@ -100,15 +100,18 @@ module Files
100
100
 
101
101
  def destroy(params = {})
102
102
  delete(params)
103
+ nil
103
104
  end
104
105
 
105
106
  def save
106
107
  if @attributes[:id]
107
- update(@attributes)
108
+ new_obj = update(@attributes)
108
109
  else
109
110
  new_obj = GroupUser.create(@attributes, @options)
110
- @attributes = new_obj.attributes
111
111
  end
112
+
113
+ @attributes = new_obj.attributes
114
+ true
112
115
  end
113
116
 
114
117
  # Parameters:
@@ -176,12 +179,13 @@ module Files
176
179
  raise MissingParameterError.new("Parameter missing: group_id") unless params[:group_id]
177
180
  raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
178
181
 
179
- response, _options = Api.send_request("/group_users/#{params[:id]}", :delete, params, options)
180
- response.data
182
+ Api.send_request("/group_users/#{params[:id]}", :delete, params, options)
183
+ nil
181
184
  end
182
185
 
183
186
  def self.destroy(id, params = {}, options = {})
184
187
  delete(id, params, options)
188
+ nil
185
189
  end
186
190
  end
187
191
  end
@@ -248,8 +248,10 @@ module Files
248
248
  raise NotImplementedError.new("The HistoryExport object doesn't support updates.")
249
249
  else
250
250
  new_obj = HistoryExport.create(@attributes, @options)
251
- @attributes = new_obj.attributes
252
251
  end
252
+
253
+ @attributes = new_obj.attributes
254
+ true
253
255
  end
254
256
 
255
257
  # Parameters:
@@ -77,8 +77,10 @@ module Files
77
77
  raise NotImplementedError.new("The InboxRecipient object doesn't support updates.")
78
78
  else
79
79
  new_obj = InboxRecipient.create(@attributes, @options)
80
- @attributes = new_obj.attributes
81
80
  end
81
+
82
+ @attributes = new_obj.attributes
83
+ true
82
84
  end
83
85
 
84
86
  # Parameters:
@@ -133,11 +133,13 @@ module Files
133
133
 
134
134
  def destroy(params = {})
135
135
  delete(params)
136
+ nil
136
137
  end
137
138
 
138
139
  def save
139
140
  new_obj = Lock.create(path, @attributes, @options)
140
141
  @attributes = new_obj.attributes
142
+ true
141
143
  end
142
144
 
143
145
  # Parameters:
@@ -186,12 +188,13 @@ module Files
186
188
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
187
189
  raise MissingParameterError.new("Parameter missing: token") unless params[:token]
188
190
 
189
- response, _options = Api.send_request("/locks/#{params[:path]}", :delete, params, options)
190
- response.data
191
+ Api.send_request("/locks/#{params[:path]}", :delete, params, options)
192
+ nil
191
193
  end
192
194
 
193
195
  def self.destroy(path, params = {}, options = {})
194
196
  delete(path, params, options)
197
+ nil
195
198
  end
196
199
  end
197
200
  end
@@ -95,15 +95,18 @@ module Files
95
95
 
96
96
  def destroy(params = {})
97
97
  delete(params)
98
+ nil
98
99
  end
99
100
 
100
101
  def save
101
102
  if @attributes[:id]
102
- update(@attributes)
103
+ new_obj = update(@attributes)
103
104
  else
104
105
  new_obj = Message.create(@attributes, @options)
105
- @attributes = new_obj.attributes
106
106
  end
107
+
108
+ @attributes = new_obj.attributes
109
+ true
107
110
  end
108
111
 
109
112
  # Parameters:
@@ -187,12 +190,13 @@ module Files
187
190
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
188
191
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
189
192
 
190
- response, _options = Api.send_request("/messages/#{params[:id]}", :delete, params, options)
191
- response.data
193
+ Api.send_request("/messages/#{params[:id]}", :delete, params, options)
194
+ nil
192
195
  end
193
196
 
194
197
  def self.destroy(id, params = {}, options = {})
195
198
  delete(id, params, options)
199
+ nil
196
200
  end
197
201
  end
198
202
  end
@@ -71,15 +71,18 @@ module Files
71
71
 
72
72
  def destroy(params = {})
73
73
  delete(params)
74
+ nil
74
75
  end
75
76
 
76
77
  def save
77
78
  if @attributes[:id]
78
- update(@attributes)
79
+ new_obj = update(@attributes)
79
80
  else
80
81
  new_obj = MessageComment.create(@attributes, @options)
81
- @attributes = new_obj.attributes
82
82
  end
83
+
84
+ @attributes = new_obj.attributes
85
+ true
83
86
  end
84
87
 
85
88
  # Parameters:
@@ -151,12 +154,13 @@ module Files
151
154
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
152
155
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
153
156
 
154
- response, _options = Api.send_request("/message_comments/#{params[:id]}", :delete, params, options)
155
- response.data
157
+ Api.send_request("/message_comments/#{params[:id]}", :delete, params, options)
158
+ nil
156
159
  end
157
160
 
158
161
  def self.destroy(id, params = {}, options = {})
159
162
  delete(id, params, options)
163
+ nil
160
164
  end
161
165
  end
162
166
  end
@@ -48,6 +48,7 @@ module Files
48
48
 
49
49
  def destroy(params = {})
50
50
  delete(params)
51
+ nil
51
52
  end
52
53
 
53
54
  def save
@@ -55,8 +56,10 @@ module Files
55
56
  raise NotImplementedError.new("The MessageCommentReaction object doesn't support updates.")
56
57
  else
57
58
  new_obj = MessageCommentReaction.create(@attributes, @options)
58
- @attributes = new_obj.attributes
59
59
  end
60
+
61
+ @attributes = new_obj.attributes
62
+ true
60
63
  end
61
64
 
62
65
  # Parameters:
@@ -114,12 +117,13 @@ module Files
114
117
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
115
118
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
116
119
 
117
- response, _options = Api.send_request("/message_comment_reactions/#{params[:id]}", :delete, params, options)
118
- response.data
120
+ Api.send_request("/message_comment_reactions/#{params[:id]}", :delete, params, options)
121
+ nil
119
122
  end
120
123
 
121
124
  def self.destroy(id, params = {}, options = {})
122
125
  delete(id, params, options)
126
+ nil
123
127
  end
124
128
  end
125
129
  end
@@ -48,6 +48,7 @@ module Files
48
48
 
49
49
  def destroy(params = {})
50
50
  delete(params)
51
+ nil
51
52
  end
52
53
 
53
54
  def save
@@ -55,8 +56,10 @@ module Files
55
56
  raise NotImplementedError.new("The MessageReaction object doesn't support updates.")
56
57
  else
57
58
  new_obj = MessageReaction.create(@attributes, @options)
58
- @attributes = new_obj.attributes
59
59
  end
60
+
61
+ @attributes = new_obj.attributes
62
+ true
60
63
  end
61
64
 
62
65
  # Parameters:
@@ -114,12 +117,13 @@ module Files
114
117
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
115
118
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
116
119
 
117
- response, _options = Api.send_request("/message_reactions/#{params[:id]}", :delete, params, options)
118
- response.data
120
+ Api.send_request("/message_reactions/#{params[:id]}", :delete, params, options)
121
+ nil
119
122
  end
120
123
 
121
124
  def self.destroy(id, params = {}, options = {})
122
125
  delete(id, params, options)
126
+ nil
123
127
  end
124
128
  end
125
129
  end
@@ -248,15 +248,18 @@ module Files
248
248
 
249
249
  def destroy(params = {})
250
250
  delete(params)
251
+ nil
251
252
  end
252
253
 
253
254
  def save
254
255
  if @attributes[:id]
255
- update(@attributes)
256
+ new_obj = update(@attributes)
256
257
  else
257
258
  new_obj = Notification.create(@attributes, @options)
258
- @attributes = new_obj.attributes
259
259
  end
260
+
261
+ @attributes = new_obj.attributes
262
+ true
260
263
  end
261
264
 
262
265
  # Parameters:
@@ -372,12 +375,13 @@ module Files
372
375
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
373
376
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
374
377
 
375
- response, _options = Api.send_request("/notifications/#{params[:id]}", :delete, params, options)
376
- response.data
378
+ Api.send_request("/notifications/#{params[:id]}", :delete, params, options)
379
+ nil
377
380
  end
378
381
 
379
382
  def self.destroy(id, params = {}, options = {})
380
383
  delete(id, params, options)
384
+ nil
381
385
  end
382
386
  end
383
387
  end
@@ -93,6 +93,7 @@ module Files
93
93
 
94
94
  def destroy(params = {})
95
95
  delete(params)
96
+ nil
96
97
  end
97
98
 
98
99
  def save
@@ -100,8 +101,10 @@ module Files
100
101
  raise NotImplementedError.new("The Permission object doesn't support updates.")
101
102
  else
102
103
  new_obj = Permission.create(@attributes, @options)
103
- @attributes = new_obj.attributes
104
104
  end
105
+
106
+ @attributes = new_obj.attributes
107
+ true
105
108
  end
106
109
 
107
110
  # Parameters:
@@ -157,12 +160,13 @@ module Files
157
160
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
158
161
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
159
162
 
160
- response, _options = Api.send_request("/permissions/#{params[:id]}", :delete, params, options)
161
- response.data
163
+ Api.send_request("/permissions/#{params[:id]}", :delete, params, options)
164
+ nil
162
165
  end
163
166
 
164
167
  def self.destroy(id, params = {}, options = {})
165
168
  delete(id, params, options)
169
+ nil
166
170
  end
167
171
  end
168
172
  end
@@ -53,15 +53,18 @@ module Files
53
53
 
54
54
  def destroy(params = {})
55
55
  delete(params)
56
+ nil
56
57
  end
57
58
 
58
59
  def save
59
60
  if @attributes[:id]
60
- update(@attributes)
61
+ new_obj = update(@attributes)
61
62
  else
62
63
  new_obj = Project.create(@attributes, @options)
63
- @attributes = new_obj.attributes
64
64
  end
65
+
66
+ @attributes = new_obj.attributes
67
+ true
65
68
  end
66
69
 
67
70
  # Parameters:
@@ -126,12 +129,13 @@ module Files
126
129
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
127
130
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
128
131
 
129
- response, _options = Api.send_request("/projects/#{params[:id]}", :delete, params, options)
130
- response.data
132
+ Api.send_request("/projects/#{params[:id]}", :delete, params, options)
133
+ nil
131
134
  end
132
135
 
133
136
  def self.destroy(id, params = {}, options = {})
134
137
  delete(id, params, options)
138
+ nil
135
139
  end
136
140
  end
137
141
  end
@@ -94,15 +94,18 @@ module Files
94
94
 
95
95
  def destroy(params = {})
96
96
  delete(params)
97
+ nil
97
98
  end
98
99
 
99
100
  def save
100
101
  if @attributes[:id]
101
- update(@attributes)
102
+ new_obj = update(@attributes)
102
103
  else
103
104
  new_obj = PublicKey.create(@attributes, @options)
104
- @attributes = new_obj.attributes
105
105
  end
106
+
107
+ @attributes = new_obj.attributes
108
+ true
106
109
  end
107
110
 
108
111
  # Parameters:
@@ -174,12 +177,13 @@ module Files
174
177
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
175
178
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
176
179
 
177
- response, _options = Api.send_request("/public_keys/#{params[:id]}", :delete, params, options)
178
- response.data
180
+ Api.send_request("/public_keys/#{params[:id]}", :delete, params, options)
181
+ nil
179
182
  end
180
183
 
181
184
  def self.destroy(id, params = {}, options = {})
182
185
  delete(id, params, options)
186
+ nil
183
187
  end
184
188
  end
185
189
  end
@@ -858,15 +858,18 @@ module Files
858
858
 
859
859
  def destroy(params = {})
860
860
  delete(params)
861
+ nil
861
862
  end
862
863
 
863
864
  def save
864
865
  if @attributes[:id]
865
- update(@attributes)
866
+ new_obj = update(@attributes)
866
867
  else
867
868
  new_obj = RemoteServer.create(@attributes, @options)
868
- @attributes = new_obj.attributes
869
869
  end
870
+
871
+ @attributes = new_obj.attributes
872
+ true
870
873
  end
871
874
 
872
875
  # Parameters:
@@ -1222,12 +1225,13 @@ module Files
1222
1225
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
1223
1226
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1224
1227
 
1225
- response, _options = Api.send_request("/remote_servers/#{params[:id]}", :delete, params, options)
1226
- response.data
1228
+ Api.send_request("/remote_servers/#{params[:id]}", :delete, params, options)
1229
+ nil
1227
1230
  end
1228
1231
 
1229
1232
  def self.destroy(id, params = {}, options = {})
1230
1233
  delete(id, params, options)
1234
+ nil
1231
1235
  end
1232
1236
  end
1233
1237
  end
@@ -93,6 +93,7 @@ module Files
93
93
 
94
94
  def destroy(params = {})
95
95
  delete(params)
96
+ nil
96
97
  end
97
98
 
98
99
  def save
@@ -100,8 +101,10 @@ module Files
100
101
  raise NotImplementedError.new("The Request object doesn't support updates.")
101
102
  else
102
103
  new_obj = Request.create(@attributes, @options)
103
- @attributes = new_obj.attributes
104
104
  end
105
+
106
+ @attributes = new_obj.attributes
107
+ true
105
108
  end
106
109
 
107
110
  # Parameters:
@@ -168,12 +171,13 @@ module Files
168
171
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
169
172
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
170
173
 
171
- response, _options = Api.send_request("/requests/#{params[:id]}", :delete, params, options)
172
- response.data
174
+ Api.send_request("/requests/#{params[:id]}", :delete, params, options)
175
+ nil
173
176
  end
174
177
 
175
178
  def self.destroy(id, params = {}, options = {})
176
179
  delete(id, params, options)
180
+ nil
177
181
  end
178
182
  end
179
183
  end
@@ -90,8 +90,10 @@ module Files
90
90
  raise NotImplementedError.new("The Session object doesn't support updates.")
91
91
  else
92
92
  new_obj = Session.create(@attributes, @options)
93
- @attributes = new_obj.attributes
94
93
  end
94
+
95
+ @attributes = new_obj.attributes
96
+ true
95
97
  end
96
98
 
97
99
  # Parameters:
@@ -110,12 +112,13 @@ module Files
110
112
  end
111
113
 
112
114
  def self.delete(params = {}, options = {})
113
- response, _options = Api.send_request("/sessions", :delete, params, options)
114
- response.data
115
+ Api.send_request("/sessions", :delete, params, options)
116
+ nil
115
117
  end
116
118
 
117
119
  def self.destroy(params = {}, options = {})
118
120
  delete(params, options)
121
+ nil
119
122
  end
120
123
  end
121
124
  end
@@ -81,15 +81,18 @@ module Files
81
81
 
82
82
  def destroy(params = {})
83
83
  delete(params)
84
+ nil
84
85
  end
85
86
 
86
87
  def save
87
88
  if @attributes[:id]
88
- update(@attributes)
89
+ new_obj = update(@attributes)
89
90
  else
90
91
  new_obj = SftpHostKey.create(@attributes, @options)
91
- @attributes = new_obj.attributes
92
92
  end
93
+
94
+ @attributes = new_obj.attributes
95
+ true
93
96
  end
94
97
 
95
98
  # Parameters:
@@ -156,12 +159,13 @@ module Files
156
159
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
157
160
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
158
161
 
159
- response, _options = Api.send_request("/sftp_host_keys/#{params[:id]}", :delete, params, options)
160
- response.data
162
+ Api.send_request("/sftp_host_keys/#{params[:id]}", :delete, params, options)
163
+ nil
161
164
  end
162
165
 
163
166
  def self.destroy(id, params = {}, options = {})
164
167
  delete(id, params, options)
168
+ nil
165
169
  end
166
170
  end
167
171
  end
@@ -83,15 +83,18 @@ module Files
83
83
 
84
84
  def destroy(params = {})
85
85
  delete(params)
86
+ nil
86
87
  end
87
88
 
88
89
  def save
89
90
  if @attributes[:id]
90
- update(@attributes)
91
+ new_obj = update(@attributes)
91
92
  else
92
93
  new_obj = ShareGroup.create(@attributes, @options)
93
- @attributes = new_obj.attributes
94
94
  end
95
+
96
+ @attributes = new_obj.attributes
97
+ true
95
98
  end
96
99
 
97
100
  # Parameters:
@@ -168,12 +171,13 @@ module Files
168
171
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
169
172
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
170
173
 
171
- response, _options = Api.send_request("/share_groups/#{params[:id]}", :delete, params, options)
172
- response.data
174
+ Api.send_request("/share_groups/#{params[:id]}", :delete, params, options)
175
+ nil
173
176
  end
174
177
 
175
178
  def self.destroy(id, params = {}, options = {})
176
179
  delete(id, params, options)
180
+ nil
177
181
  end
178
182
  end
179
183
  end
@@ -101,15 +101,18 @@ module Files
101
101
 
102
102
  def destroy(params = {})
103
103
  delete(params)
104
+ nil
104
105
  end
105
106
 
106
107
  def save
107
108
  if @attributes[:id]
108
- update(@attributes)
109
+ new_obj = update(@attributes)
109
110
  else
110
111
  new_obj = Snapshot.create(@attributes, @options)
111
- @attributes = new_obj.attributes
112
112
  end
113
+
114
+ @attributes = new_obj.attributes
115
+ true
113
116
  end
114
117
 
115
118
  # Parameters:
@@ -180,12 +183,13 @@ module Files
180
183
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
181
184
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
182
185
 
183
- response, _options = Api.send_request("/snapshots/#{params[:id]}", :delete, params, options)
184
- response.data
186
+ Api.send_request("/snapshots/#{params[:id]}", :delete, params, options)
187
+ nil
185
188
  end
186
189
 
187
190
  def self.destroy(id, params = {}, options = {})
188
191
  delete(id, params, options)
192
+ nil
189
193
  end
190
194
  end
191
195
  end
@@ -279,8 +279,8 @@ module Files
279
279
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
280
280
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
281
281
 
282
- response, _options = Api.send_request("/sso_strategies/#{params[:id]}/sync", :post, params, options)
283
- response.data
282
+ Api.send_request("/sso_strategies/#{params[:id]}/sync", :post, params, options)
283
+ nil
284
284
  end
285
285
  end
286
286
  end
@@ -79,10 +79,13 @@ module Files
79
79
 
80
80
  def destroy(params = {})
81
81
  delete(params)
82
+ nil
82
83
  end
83
84
 
84
85
  def save
85
- update(@attributes)
86
+ new_obj = update(@attributes)
87
+ @attributes = new_obj.attributes
88
+ true
86
89
  end
87
90
 
88
91
  # Parameters:
@@ -120,12 +123,13 @@ module Files
120
123
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
121
124
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
122
125
 
123
- response, _options = Api.send_request("/styles/#{params[:path]}", :delete, params, options)
124
- response.data
126
+ Api.send_request("/styles/#{params[:path]}", :delete, params, options)
127
+ nil
125
128
  end
126
129
 
127
130
  def self.destroy(path, params = {}, options = {})
128
131
  delete(path, params, options)
132
+ nil
129
133
  end
130
134
  end
131
135
  end