require 'spec_helper' require 'json' # Unit tests for Phrase::WebhookDeliveriesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'WebhookDeliveriesApi' do before do # run before each test @api_instance = Phrase::WebhookDeliveriesApi.new end after do # run after each test end describe 'test an instance of WebhookDeliveriesApi' do it 'should create an instance of WebhookDeliveriesApi' do expect(@api_instance).to be_instance_of(Phrase::WebhookDeliveriesApi) end end # unit tests for webhook_deliveries_list # List webhook deliveries # List all webhook deliveries for the given webhook_id. # @param project_id Project ID # @param webhook_id Webhook ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :response_status_codes List of Response Status Codes # @return [Array] describe 'webhook_deliveries_list 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 webhook_deliveries_redeliver # Redeliver a single webhook delivery # Trigger an individual webhook delivery to be redelivered. # @param project_id Project ID # @param webhook_id Webhook ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [WebhookDelivery] describe 'webhook_deliveries_redeliver 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 webhook_deliveries_show # Get a single webhook delivery # Get all information about a single webhook delivery for the given ID. # @param project_id Project ID # @param webhook_id Webhook ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [WebhookDelivery] describe 'webhook_deliveries_show test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end