Sha256: 0fae0cfc6e83618271a220071e8720e8c5d4a768cc10afab4e22979eeebfea27

Contents?: true

Size: 1.36 KB

Versions: 17

Compression:

Stored size: 1.36 KB

Contents

=begin
#Subscriptions

#Subscriptions allow contacts to control what forms of communications they receive. Contacts can decide whether they want to receive communication pertaining to a specific topic, brand, or an entire HubSpot account.

The version of the OpenAPI document: v3

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1

=end

require 'spec_helper'
require 'json'

# Unit tests for Hubspot::CommunicationPreferences::DefinitionApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'DefinitionApi' do
  before do
    # run before each test
    @api_instance = Hubspot::CommunicationPreferences::DefinitionApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of DefinitionApi' do
    it 'should create an instance of DefinitionApi' do
      expect(@api_instance).to be_instance_of(Hubspot::CommunicationPreferences::DefinitionApi)
    end
  end

  # unit tests for get_page
  # Get subscription definitions
  # Get a list of all subscription definitions for the portal
  # @param [Hash] opts the optional parameters
  # @return [SubscriptionDefinitionsResponse]
  describe 'get_page 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

17 entries across 17 versions & 1 rubygems

Version Path
hubspot-api-client-14.5.2 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.5.1 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.5.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.4.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.3.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.2.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.1.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-14.0.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-13.2.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-13.1.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-13.0.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-12.0.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-11.2.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-11.1.1 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-11.1.0 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-10.1.1 spec/codegen/communication_preferences/api/definition_api_spec.rb
hubspot-api-client-10.1.0 spec/codegen/communication_preferences/api/definition_api_spec.rb