=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::StatusApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'StatusApi' do before do # run before each test @api_instance = Hubspot::CommunicationPreferences::StatusApi.new end after do # run after each test end describe 'test an instance of StatusApi' do it 'should create an instance of StatusApi' do expect(@api_instance).to be_instance_of(Hubspot::CommunicationPreferences::StatusApi) end end # unit tests for get_email_status # Get subscription statuses for a contact # Returns a list of subscriptions and their status for a given contact. # @param email_address # @param [Hash] opts the optional parameters # @return [PublicSubscriptionStatusesResponse] describe 'get_email_status 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 subscribe # Subscribe a contact # Subscribes a contact to the given subscription type. This API is not valid to use for subscribing a contact at a brand or portal level and will return an error. # @param public_update_subscription_status_request # @param [Hash] opts the optional parameters # @return [PublicSubscriptionStatus] describe 'subscribe 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 unsubscribe # Unsubscribe a contact # Unsubscribes a contact from the given subscription type. This API is not valid to use for unsubscribing a contact at a brand or portal level and will return an error. # @param public_update_subscription_status_request # @param [Hash] opts the optional parameters # @return [PublicSubscriptionStatus] describe 'unsubscribe test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end