=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::SettingsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SettingsApi' do before do # run before each test @instance = SubskribeSandboxClient::SettingsApi.new end after do # run after each test end describe 'test an instance of SettingsApi' do it 'should create an instance of SettingsApi' do expect(@instance).to be_instance_of(SubskribeSandboxClient::SettingsApi) end end # unit tests for activate_unit_of_measure # Activate unit of measure # Activates the specified unit of measure making it available to be attached to charges # @param id # @param [Hash] opts the optional parameters # @return [nil] describe 'activate_unit_of_measure 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 add_tax_rate # Add tax rate # Add a new tax rate object # @param [Hash] opts the optional parameters # @option opts [TaxRateJson] :body # @return [TaxRateJson] describe 'add_tax_rate 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 add_term_section # Add predefined terms section # Adds a predefined terms section. # @param [Hash] opts the optional parameters # @option opts [DocumentSection] :body # @return [DocumentSection] describe 'add_term_section 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 add_unit_of_measure # Add unit of measure # Add a new instance of unit of measure as specified by the input # @param [Hash] opts the optional parameters # @option opts [UnitOfMeasureJson] :body # @return [UnitOfMeasureJson] describe 'add_unit_of_measure 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_tax_rate # Delete tax rate # Deletes the tax rate object by Id. If successful the deleted tax rate object is returned # @param id # @param [Hash] opts the optional parameters # @return [TaxRateJson] describe 'delete_tax_rate 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_term_section # Delete predefined terms section # Deletes the predefined terms section specified. # @param id # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_term_section 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_unit_of_measure # Delete unit of measure # Delete the unit of measure by Id provided. Returns the deleted unit of measure object if successful. # @param id # @param [Hash] opts the optional parameters # @return [UnitOfMeasureJson] describe 'delete_unit_of_measure 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 deprecate_unit_of_measure # Deprecate unit of measure # Deprecates the specified unit of measure making it unavailable to be attached to charges going forward # @param id # @param [Hash] opts the optional parameters # @return [nil] describe 'deprecate_unit_of_measure 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_payment_term_settings # Get payment term settings # # @param [Hash] opts the optional parameters # @return [nil] describe 'get_payment_term_settings 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_supported_currencies # Get supported currencies # Get supported currencies for your tenant # @param [Hash] opts the optional parameters # @return [nil] describe 'get_supported_currencies 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_tax_rate # Get tax rate by Id # Retrieves the tax rate object by Id # @param id # @param [Hash] opts the optional parameters # @return [TaxRatePaginationResponseJson] describe 'get_tax_rate 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_tax_rates # Get tax rates # Get all available tax rates. The result is paginated. To retrieve all results pass the cursor returned from a call to the next call until all results are returned. # @param [Hash] opts the optional parameters # @option opts [String] :cursor # @option opts [Integer] :limit # @return [TaxRatePaginationResponseJson] describe 'get_tax_rates 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_tenant # Get tenant details # Get the details of the current tenant # @param [Hash] opts the optional parameters # @return [TenantJson] describe 'get_tenant 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_tenant_logo # Get tenant logo # Get the current logo stored # @param [Hash] opts the optional parameters # @return [nil] describe 'get_tenant_logo 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_tenant_setting # Get tenant settings # Returns all tenant settings for your tenant. # @param [Hash] opts the optional parameters # @return [TenantSettingJson] describe 'get_tenant_setting 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_term_section # Get predefined terms section detail # Returns predefined terms section detail. # @param id # @param [Hash] opts the optional parameters # @return [DocumentSection] describe 'get_term_section 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_term_sections # Get predefined terms sections # Returns predefined terms sections. # @param [Hash] opts the optional parameters # @return [DocumentSection] describe 'get_term_sections 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_units_of_measure # Get units of measure # Returns a paginated list of units of measure # @param [Hash] opts the optional parameters # @option opts [String] :cursor # @option opts [Integer] :limit # @return [UnitOfMeasurePaginationResponseJson] describe 'get_units_of_measure 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_payment_term_settings # Update payment term settings # # @param body json representation of the payment term settings # @param [Hash] opts the optional parameters # @return [nil] describe 'update_payment_term_settings 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_supported_currencies # Update supported currencies # Update supported currencies for your tenant # @param [Hash] opts the optional parameters # @option opts [Array] :body # @return [nil] describe 'update_supported_currencies 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_tax_rate # Update tax rate # Updates the specific tax rate object # @param id # @param [Hash] opts the optional parameters # @option opts [TaxRateJson] :body # @return [nil] describe 'update_tax_rate 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_tenant # Update tenant details # Updates the details of the current tenant based on the input # @param [Hash] opts the optional parameters # @option opts [TenantJson] :body # @return [nil] describe 'update_tenant 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_tenant_setting # Update tenant settings # Updates settings for your tenant. # @param body json representation of the settings # @param [Hash] opts the optional parameters # @return [nil] describe 'update_tenant_setting 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_term_section # Update predefined terms section # Updates the predefined terms section specified. # @param id # @param [Hash] opts the optional parameters # @option opts [DocumentSection] :body # @return [DocumentSection] describe 'update_term_section 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_unit_of_measure # Update unit of measure # Update the unit of measure by Id provided. # @param id # @param [Hash] opts the optional parameters # @option opts [UnitOfMeasureJson] :body # @return [UnitOfMeasureJson] describe 'update_unit_of_measure 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 upload_tenant_logo # Update tenant logo # Updates the logo used in external facing communication such as order forms and invoices # @param [Hash] opts the optional parameters # @option opts [File] :file # @return [TenantJson] describe 'upload_tenant_logo test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end