=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::SpacesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'SpacesApi' do before do # run before each test @api_instance = MuxRuby::SpacesApi.new end after do # run after each test end describe 'test an instance of SpacesApi' do it 'should create an instance of SpacesApi' do expect(@api_instance).to be_instance_of(MuxRuby::SpacesApi) end end # unit tests for create_space # Create a space # Create a new space. Spaces are used to build [real-time video applications.](https://mux.com/real-time-video) # @param create_space_request # @param [Hash] opts the optional parameters # @return [SpaceResponse] describe 'create_space 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 create_space_broadcast # Create a space broadcast # Creates a new broadcast. Broadcasts are used to create composited versions of your space, which can be broadcast to live streams. **Note:** By default only a single broadcast destination can be specified. Contact Mux support if you need more. # @param space_id The space ID. # @param create_broadcast_request # @param [Hash] opts the optional parameters # @return [BroadcastResponse] describe 'create_space_broadcast 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_space # Delete a space # Deletes a space. Spaces can only be deleted when `idle`. # @param space_id The space ID. # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_space 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_space_broadcast # Delete a space broadcast # Deletes a single broadcast of a specific space. Broadcasts can only be deleted when `idle`. # @param space_id The space ID. # @param broadcast_id The broadcast ID. # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_space_broadcast 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_space # Retrieve a space # Retrieves the details of a space that has previously been created. Supply the unique space ID that was returned from your create space request, and Mux will return the information about the corresponding space. The same information is returned when creating a space. # @param space_id The space ID. # @param [Hash] opts the optional parameters # @return [SpaceResponse] describe 'get_space 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_space_broadcast # Retrieve space broadcast # Retrieves the details of a broadcast of a specific space. # @param space_id The space ID. # @param broadcast_id The broadcast ID. # @param [Hash] opts the optional parameters # @return [BroadcastResponse] describe 'get_space_broadcast 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_spaces # List spaces # List all spaces in the current enviroment. # @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 [ListSpacesResponse] describe 'list_spaces 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 start_space_broadcast # Start a space broadcast # Starts broadcasting a space to the associated destination. # @param space_id The space ID. # @param broadcast_id The broadcast ID. # @param [Hash] opts the optional parameters # @return [StartSpaceBroadcastResponse] describe 'start_space_broadcast 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 stop_space_broadcast # Stop a space broadcast # Stops broadcasting a space, causing the destination live stream to become idle. This API also automatically calls `complete` on the destination live stream. Broadcasts are also automatically stopped when a space becomes idle. # @param space_id The space ID. # @param broadcast_id The broadcast ID. # @param [Hash] opts the optional parameters # @return [StopSpaceBroadcastResponse] describe 'stop_space_broadcast test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end