=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 SubskribeDevClient::CustomFieldApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CustomFieldApi' do before do # run before each test @instance = SubskribeDevClient::CustomFieldApi.new end after do # run after each test end describe 'test an instance of CustomFieldApi' do it 'should create an instance of CustomFieldApi' do expect(@instance).to be_instance_of(SubskribeDevClient::CustomFieldApi) end end # unit tests for create_custom_field_definition # Create a custom field definition # Creates a new custom field definition for your tenant. On success the id of the custom field definition is returned. # @param body custom field definition values # @param [Hash] opts the optional parameters # @return [String] describe 'create_custom_field_definition 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_custom_field_definition # Delete a custom field definition # Deletes an existing custom field definition for your tenant. On success the deleted custom field definition object is returned. # @param id object type custom fields are attached to # @param [Hash] opts the optional parameters # @return [CustomFieldDefinitionJson] describe 'delete_custom_field_definition 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_custom_field_definitions # Get custom field definitions # Returns all custom field definitions for a specific parent object type # @param parent_object_type object type custom fields are attached to # @param [Hash] opts the optional parameters # @return [Array] describe 'get_custom_field_definitions 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_custom_fields # Get custom fields by type and parent object id # Returns all custom fields for a specific parent object type and id # @param parent_object_type object type custom fields are attached to # @param parent_object_id Id of the parent object # @param [Hash] opts the optional parameters # @return [nil] describe 'get_custom_fields 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_custom_field # Update an existing set of custom fields # Updates an existing set of custom fields for a given parent object type and id. On success the update custom fields are returned. # @param parent_object_type object type custom fields are attached to # @param parent_object_id Id of the parent object # @param custom_field_name Name of the custom field to be updated # @param body custom field value # @param [Hash] opts the optional parameters # @return [nil] describe 'update_custom_field 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_custom_field_definition # Update an existing custom field definition # Updates an existing custom field definition for your tenant. On success the update custom field definition is returned. # @param id # @param body custom field definition values # @param [Hash] opts the optional parameters # @return [CustomFieldDefinitionJson] describe 'update_custom_field_definition 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_custom_fields # Update an existing set of custom fields # Updates an existing set of custom fields for a given parent object type and id. On success the update custom fields are returned. # @param parent_object_type object type custom fields are attached to # @param parent_object_id Id of the parent object # @param body custom field values # @param [Hash] opts the optional parameters # @return [nil] describe 'update_custom_fields test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end