=begin #SendinBlue API #SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | OpenAPI spec version: 3.0.0 Contact: contact@sendinblue.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1 =end require 'spec_helper' require 'json' # Unit tests for SibApiV3Sdk::WebhooksApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WebhooksApi' do before do # run before each test @instance = SibApiV3Sdk::WebhooksApi.new end after do # run after each test end describe 'test an instance of WebhooksApi' do it 'should create an instance of WebhooksApi' do expect(@instance).to be_instance_of(SibApiV3Sdk::WebhooksApi) end end # unit tests for create_webhook # Create a webhook # # @param create_webhook Values to create a webhook # @param [Hash] opts the optional parameters # @return [CreateModel] describe 'create_webhook test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete_webhook # Delete a webhook # # @param webhook_id Id of the webhook # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_webhook test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_webhook # Get a webhook details # # @param webhook_id Id of the webhook # @param [Hash] opts the optional parameters # @return [GetWebhook] describe 'get_webhook test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_webhooks # Get all webhooks # # @param [Hash] opts the optional parameters # @option opts [String] :type Filter on webhook type # @return [GetWebhooks] describe 'get_webhooks test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for update_webhook # Update a webhook # # @param webhook_id Id of the webhook # @param update_webhook Values to update a webhook # @param [Hash] opts the optional parameters # @return [nil] describe 'update_webhook test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end