=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::DimensionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DimensionsApi' do before do # run before each test @instance = MuxRuby::DimensionsApi.new end after do # run after each test end describe 'test an instance of DimensionsApi' do it 'should create an instance of DimensionsApi' do expect(@instance).to be_instance_of(MuxRuby::DimensionsApi) end end # unit tests for list_dimension_values # Lists the values for a specific dimension # Lists the values for a dimension along with a total count of related views. Note: This API replaces the list-filter-values API call. # @param dimension_id ID of the Dimension # @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` # @option opts [Array] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]=operating_system:windows&filters[]=country:US). Possible filter names are the same as returned by the List Filters endpoint. # @option opts [Array] :timeframe Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. timeframe[]=1498867200&timeframe[]=1498953600 * duration string e.g. timeframe[]=24:hours or timeframe[]=7:days. # @return [ListDimensionValuesResponse] describe 'list_dimension_values 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_dimensions # List Dimensions # List all available dimensions. Note: This API replaces the list-filters API call. # @param [Hash] opts the optional parameters # @return [ListDimensionsResponse] describe 'list_dimensions test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end