=begin #Hydrogen Nucleus API #The Hydrogen Nucleus API OpenAPI spec version: 1.9.5 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.19 =end require 'spec_helper' require 'json' # Unit tests for NucleusApi::WebhookApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WebhookApi' do before do # run before each test @instance = NucleusApi::WebhookApi.new end after do # run after each test end describe 'test an instance of WebhookApi' do it 'should create an instance of WebhookApi' do expect(@instance).to be_instance_of(NucleusApi::WebhookApi) end end # unit tests for create_webhook_using_post # Create a webhook # One active webhook service is allowed at all times. # @param webhook_request webhookRequest # @param [Hash] opts the optional parameters # @return [Webhook] describe 'create_webhook_using_post 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_using_delete # Delete a webhook # Permanently delete a webhook for your firm. The webhook_id must be provided. # @param webhook_id UUID webhook_id # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_webhook_using_delete 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_all_using_get # List all webhooks # Get information for all webhooks defined for your firm. # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :ascending ascending # @option opts [String] :filter filter # @option opts [String] :order_by order_by # @option opts [Integer] :page page # @option opts [Integer] :size size # @return [PageWebhook] describe 'get_webhook_all_using_get 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_using_get # Retrieve a webhook # Retrieve the information for a specific webhook. The webhook_id must be provided. # @param webhook_id UUID webhook_id # @param [Hash] opts the optional parameters # @return [Webhook] describe 'get_webhook_using_get 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_using_put # Update a webhook # Update a webhook for your firm. The webhook_id must be provided # @param webhook webhook # @param webhook_id UUID webhook_id # @param [Hash] opts the optional parameters # @return [Webhook] describe 'update_webhook_using_put test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end