You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webhooks can be created on the [CloudConvert Dashboard](https://cloudconvert.com/dashboard/api/v2/webhooks),
129
141
where you can also find the signing secret.
@@ -190,21 +202,54 @@ The `verify`/`verify_request` methods return `true`/`false`, use `verify!` or `v
190
202
191
203
You can read the [full list of events](https://cloudconvert.com/api/v2/webhooks) CloudConvert can notify you about in our documentation.
192
204
193
-
## Development
205
+
206
+
Development
207
+
-----------
194
208
195
209
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
196
210
197
211
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
198
212
199
-
## Contributing
213
+
214
+
Contributing
215
+
------------
200
216
201
217
Bug reports and pull requests are welcome on GitHub at https://github.com/cloudconvert/cloudconvert-ruby.
202
218
203
-
## License
219
+
220
+
Unit Tests
221
+
----------
222
+
223
+
```sh
224
+
rspec --tag unit
225
+
```
226
+
227
+
228
+
Integration Tests
229
+
-----------------
230
+
231
+
```sh
232
+
rspec --tag integration
233
+
```
234
+
235
+
By default, this runs the integration tests against the Sandbox API with an official CloudConvert account.
236
+
If you would like to use your own account, you can set your API key using the `CLOUDCONVERT_API_KEY` enviroment variable.
237
+
In this case you need to whitelist the following MD5 hashes for Sandbox API (using the CloudConvert dashboard).
238
+
239
+
```
240
+
53d6fe6b688c31c565907c81de625046 input.pdf
241
+
99d4c165f77af02015aa647770286cf9 input.png
242
+
```
243
+
244
+
245
+
License
246
+
-------
204
247
205
248
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
0 commit comments