=begin #Subskribe API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.41 =end require 'spec_helper' require 'json' # Unit tests for SubskribeSandboxClient::ReportsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ReportsApi' do before do # run before each test @instance = SubskribeSandboxClient::ReportsApi.new end after do # run after each test end describe 'test an instance of ReportsApi' do it 'should create an instance of ReportsApi' do expect(@instance).to be_instance_of(SubskribeSandboxClient::ReportsApi) end end # unit tests for generate # Generate a report # Generates a report with the specified parameters. This report can later be downloaded via /reports/{reportRunId}/result # @param body json definition of the report # @param [Hash] opts the optional parameters # @return [ReportJobResponse] describe 'generate 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_predefined_report_defs # Get report definitions # Returns the definitions of the reports defined for your tenant. # @param [Hash] opts the optional parameters # @return [PredefinedReportDefsJson] describe 'get_predefined_report_defs 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_report_output # Run a generated report # Runs a report generated with /generate. On success a csv of the report is returned. # @param report_run_id id of the report # @param [Hash] opts the optional parameters # @return [nil] describe 'get_report_output 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 run # Run a report # Runs the specified report and returns the result as a csv. # @param body definition of the report in json # @param [Hash] opts the optional parameters # @return [nil] describe 'run test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end