Class: ExactTargetSDK::Subscriber

Inherits:
APIObject
  • Object
show all
Defined in:
lib/exact_target_sdk/subscriber.rb

Overview

Assumes that the “SubscriberKey feature” is not enabled on your account, and thus explicitly sets the SubscriberKey to be the same as the EmailAddress (and vice-versa). This allows all methods to be used without ever needing to refer to the SubscriberKey (just use EmailAddress).

If the SubscriberKey is explicitly set, it will be left alone (in case you do have the SubscriberKey feature enabled).

When updating, the email address may be updated by setting the SubscriberKey property to the current email address, and the EmailAddress property to the new email address.

Method Summary

Methods inherited from APIObject

array_property, #initialize, int_property, properties, property, #render!, #render_properties!, #render_property!, #render_property_array!, #type_name, type_name

Constructor Details

This class inherits a constructor from ExactTargetSDK::APIObject