Sha256: 35aceb6d63ec6b569d698673fddaf9bed56e5a3207cf1f4a168e4f59acc2d9fe
Contents?: true
Size: 1.64 KB
Versions: 38
Compression:
Stored size: 1.64 KB
Contents
=begin # Mux Ruby - Copyright 2019 Mux Inc. # NOTE: This file is auto generated. Do not edit this file manually. =end require 'spec_helper' require 'json' # Unit tests for MuxRuby::DeliveryUsageApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DeliveryUsageApi' do before do # run before each test @instance = MuxRuby::DeliveryUsageApi.new end after do # run after each test end describe 'test an instance of DeliveryUsageApi' do it 'should create an instance of DeliveryUsageApi' do expect(@instance).to be_instance_of(MuxRuby::DeliveryUsageApi) end end # unit tests for list_delivery_usage # List Usage # Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs. # @param [Hash] opts the optional parameters # @option opts [Integer] :page Offset by this many pages, of the size of `limit` # @option opts [Integer] :limit Number of items to include in the response # @option opts [String] :asset_id Filter response to return delivery usage for this asset only. # @option opts [Array<String>] :timeframe Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing usage from 13th to 12th hour from when the request is made. # @return [ListDeliveryUsageResponse] describe 'list_delivery_usage test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
38 entries across 38 versions & 1 rubygems