=begin #Mux API #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. The version of the OpenAPI document: v1 Contact: devex@mux.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.1 =end require 'spec_helper' require 'json' # Unit tests for MuxRuby::WebInputsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'WebInputsApi' do before do # run before each test @api_instance = MuxRuby::WebInputsApi.new end after do # run after each test end describe 'test an instance of WebInputsApi' do it 'should create an instance of WebInputsApi' do expect(@api_instance).to be_instance_of(MuxRuby::WebInputsApi) end end # unit tests for create_web_input # Create a new Web Input # Create a new Web Input # @param create_web_input_request # @param [Hash] opts the optional parameters # @return [WebInputResponse] describe 'create_web_input 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_web_input # Delete a Web Input # Deletes a Web Input and all its data # @param web_input_id The Web Input ID # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_web_input 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_web_input # Retrieve a Web Input # Retrieve a single Web Input's info # @param web_input_id The Web Input ID # @param [Hash] opts the optional parameters # @return [WebInputResponse] describe 'get_web_input 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 launch_web_input # Launch a Web Input # Launches the browsers instance, loads the URL specified, and then starts streaming to the specified Live Stream. # @param web_input_id The Web Input ID # @param [Hash] opts the optional parameters # @return [LaunchWebInputResponse] describe 'launch_web_input 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 list_web_inputs # List Web Inputs # List Web Inputs # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of items to include in the response # @option opts [Integer] :page Offset by this many pages, of the size of `limit` # @return [ListWebInputsResponse] describe 'list_web_inputs 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 reload_web_input # Reload a Web Input # Reloads the page that a Web Input is displaying. Note: Using this when the Web Input is streaming will display the page reloading. # @param web_input_id The Web Input ID # @param [Hash] opts the optional parameters # @return [ReloadWebInputResponse] describe 'reload_web_input 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 shutdown_web_input # Shut down a Web Input # Ends streaming to the specified Live Stream, and then shuts down the Web Input browser instance. # @param web_input_id The Web Input ID # @param [Hash] opts the optional parameters # @return [ShutdownWebInputResponse] describe 'shutdown_web_input 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_web_input_url # Update Web Input URL # Changes the URL that a Web Input loads when it launches. Note: This can only be called when the Web Input is idle. # @param web_input_id The Web Input ID # @param update_web_input_url_request # @param [Hash] opts the optional parameters # @return [WebInputResponse] describe 'update_web_input_url test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end