Class: Campaigning::SubscriberAddWithCustomFields

Inherits:
Object
  • Object
show all
Defined in:
lib/campaigning/soap/generated/default.rb

Overview

/Subscriber.AddWithCustomFields

apiKey - SOAP::SOAPString
listID - SOAP::SOAPString
email - SOAP::SOAPString
name - SOAP::SOAPString
customFields - Campaigning::ArrayOfSubscriberCustomField

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(apiKey = nil, listID = nil, email = nil, name = nil, customFields = nil) ⇒ SubscriberAddWithCustomFields

Returns a new instance of SubscriberAddWithCustomFields.



505
506
507
508
509
510
511
# File 'lib/campaigning/soap/generated/default.rb', line 505

def initialize(apiKey = nil, listID = nil, email = nil, name = nil, customFields = nil)
  @apiKey = apiKey
  @listID = listID
  @email = email
  @name = name
  @customFields = customFields
end

Instance Attribute Details

#apiKeyObject

Returns the value of attribute apiKey.



499
500
501
# File 'lib/campaigning/soap/generated/default.rb', line 499

def apiKey
  @apiKey
end

#customFieldsObject

Returns the value of attribute customFields.



503
504
505
# File 'lib/campaigning/soap/generated/default.rb', line 503

def customFields
  @customFields
end

#emailObject

Returns the value of attribute email.



501
502
503
# File 'lib/campaigning/soap/generated/default.rb', line 501

def email
  @email
end

#listIDObject

Returns the value of attribute listID.



500
501
502
# File 'lib/campaigning/soap/generated/default.rb', line 500

def listID
  @listID
end

#nameObject

Returns the value of attribute name.



502
503
504
# File 'lib/campaigning/soap/generated/default.rb', line 502

def name
  @name
end