Class: Postal::Lmapi::MailingStruct
- Inherits:
-
Object
- Object
- Postal::Lmapi::MailingStruct
- Defined in:
- lib/postal/lmapi/lmapi.rb
Overview
http://tempuri.org/ns1.xsdMailingStruct
enableRecency - SOAP::SOAPBoolean
isHtmlSectionEncoded - SOAP::SOAPBoolean
subject - SOAP::SOAPString
campaign - SOAP::SOAPString
htmlSectionEncoding - SOAP::SOAPInt
htmlMessage - SOAP::SOAPString
to - SOAP::SOAPString
recencyWhich - RecencyWhichEnum
resendAfterDays - SOAP::SOAPInt
sampleSize - SOAP::SOAPInt
charSetID - SOAP::SOAPInt
replyTo - SOAP::SOAPString
isTextSectionEncoded - SOAP::SOAPBoolean
textSectionEncoding - SOAP::SOAPInt
title - SOAP::SOAPString
textMessage - SOAP::SOAPString
trackOpens - SOAP::SOAPBoolean
recencyNumberOfMailings - SOAP::SOAPInt
recencyDays - SOAP::SOAPInt
bypassModeration - SOAP::SOAPBoolean
- SOAP::SOAPString
dontAttemptAfterDate - SOAP::SOAPDateTime
rewriteDateWhenSent - SOAP::SOAPBoolean
from - SOAP::SOAPString
additionalHeaders - SOAP::SOAPString
listName - SOAP::SOAPString
detectHtml - SOAP::SOAPBoolean
Constant Summary collapse
- DEFAULT_ATTRIBUTES =
{:enableRecency => nil, :isHtmlSectionEncoded => nil, :subject => nil, :campaign => nil, :htmlSectionEncoding => nil, :htmlMessage => nil, :to => nil, :recencyWhich => nil, :resendAfterDays => nil, :sampleSize => nil, :charSetID => nil, :replyTo => nil, :isTextSectionEncoded => nil, :textSectionEncoding => nil, :title => nil, :textMessage => nil, :trackOpens => nil, :recencyNumberOfMailings => nil, :recencyDays => nil, :bypassModeration => nil, :attachments => nil, :dontAttemptAfterDate => nil, :rewriteDateWhenSent => nil, :from => nil, :additionalHeaders => nil, :listName => nil, :detectHtml => nil}
Instance Attribute Summary collapse
-
#additionalHeaders ⇒ Object
Returns the value of attribute additionalHeaders.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#bypassModeration ⇒ Object
Returns the value of attribute bypassModeration.
-
#campaign ⇒ Object
Returns the value of attribute campaign.
-
#charSetID ⇒ Object
Returns the value of attribute charSetID.
-
#detectHtml ⇒ Object
Returns the value of attribute detectHtml.
-
#dontAttemptAfterDate ⇒ Object
Returns the value of attribute dontAttemptAfterDate.
-
#enableRecency ⇒ Object
Returns the value of attribute enableRecency.
-
#from ⇒ Object
Returns the value of attribute from.
-
#htmlMessage ⇒ Object
Returns the value of attribute htmlMessage.
-
#htmlSectionEncoding ⇒ Object
Returns the value of attribute htmlSectionEncoding.
-
#isHtmlSectionEncoded ⇒ Object
Returns the value of attribute isHtmlSectionEncoded.
-
#isTextSectionEncoded ⇒ Object
Returns the value of attribute isTextSectionEncoded.
-
#listName ⇒ Object
Returns the value of attribute listName.
-
#recencyDays ⇒ Object
Returns the value of attribute recencyDays.
-
#recencyNumberOfMailings ⇒ Object
Returns the value of attribute recencyNumberOfMailings.
-
#recencyWhich ⇒ Object
Returns the value of attribute recencyWhich.
-
#replyTo ⇒ Object
Returns the value of attribute replyTo.
-
#resendAfterDays ⇒ Object
Returns the value of attribute resendAfterDays.
-
#rewriteDateWhenSent ⇒ Object
Returns the value of attribute rewriteDateWhenSent.
-
#sampleSize ⇒ Object
Returns the value of attribute sampleSize.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#textMessage ⇒ Object
Returns the value of attribute textMessage.
-
#textSectionEncoding ⇒ Object
Returns the value of attribute textSectionEncoding.
-
#title ⇒ Object
Returns the value of attribute title.
-
#to ⇒ Object
Returns the value of attribute to.
-
#trackOpens ⇒ Object
Returns the value of attribute trackOpens.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ MailingStruct
constructor
A new instance of MailingStruct.
Constructor Details
#initialize(attributes = {}) ⇒ MailingStruct
Returns a new instance of MailingStruct.
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 |
# File 'lib/postal/lmapi/lmapi.rb', line 371 def initialize(attributes={}) @enableRecency = attributes[:enableRecency] @isHtmlSectionEncoded = attributes[:isHtmlSectionEncoded] @subject = attributes[:subject] @campaign = attributes[:campaign] @htmlSectionEncoding = attributes[:htmlSectionEncoding] @htmlMessage = attributes[:htmlMessage] @to = attributes[:to] @recencyWhich = attributes[:recencyWhich] @resendAfterDays = attributes[:resendAfterDays] @sampleSize = attributes[:sampleSize] @charSetID = attributes[:charSetID] @replyTo = attributes[:replyTo] @isTextSectionEncoded = attributes[:isTextSectionEncoded] @textSectionEncoding = attributes[:textSectionEncoding] @title = attributes[:title] @textMessage = attributes[:textMessage] @trackOpens = attributes[:trackOpens] @recencyNumberOfMailings = attributes[:recencyNumberOfMailings] @recencyDays = attributes[:recencyDays] @bypassModeration = attributes[:bypassModeration] @attachments = attributes[:attachments] @dontAttemptAfterDate = attributes[:dontAttemptAfterDate] @rewriteDateWhenSent = attributes[:rewriteDateWhenSent] @from = attributes[:from] @additionalHeaders = attributes[:additionalHeaders] @listName = attributes[:listName] @detectHtml = attributes[:detectHtml] end |
Instance Attribute Details
#additionalHeaders ⇒ Object
Returns the value of attribute additionalHeaders.
339 340 341 |
# File 'lib/postal/lmapi/lmapi.rb', line 339 def additionalHeaders @additionalHeaders end |
#attachments ⇒ Object
Returns the value of attribute attachments.
335 336 337 |
# File 'lib/postal/lmapi/lmapi.rb', line 335 def @attachments end |
#bypassModeration ⇒ Object
Returns the value of attribute bypassModeration.
334 335 336 |
# File 'lib/postal/lmapi/lmapi.rb', line 334 def bypassModeration @bypassModeration end |
#campaign ⇒ Object
Returns the value of attribute campaign.
318 319 320 |
# File 'lib/postal/lmapi/lmapi.rb', line 318 def campaign @campaign end |
#charSetID ⇒ Object
Returns the value of attribute charSetID.
325 326 327 |
# File 'lib/postal/lmapi/lmapi.rb', line 325 def charSetID @charSetID end |
#detectHtml ⇒ Object
Returns the value of attribute detectHtml.
341 342 343 |
# File 'lib/postal/lmapi/lmapi.rb', line 341 def detectHtml @detectHtml end |
#dontAttemptAfterDate ⇒ Object
Returns the value of attribute dontAttemptAfterDate.
336 337 338 |
# File 'lib/postal/lmapi/lmapi.rb', line 336 def dontAttemptAfterDate @dontAttemptAfterDate end |
#enableRecency ⇒ Object
Returns the value of attribute enableRecency.
315 316 317 |
# File 'lib/postal/lmapi/lmapi.rb', line 315 def enableRecency @enableRecency end |
#from ⇒ Object
Returns the value of attribute from.
338 339 340 |
# File 'lib/postal/lmapi/lmapi.rb', line 338 def from @from end |
#htmlMessage ⇒ Object
Returns the value of attribute htmlMessage.
320 321 322 |
# File 'lib/postal/lmapi/lmapi.rb', line 320 def htmlMessage @htmlMessage end |
#htmlSectionEncoding ⇒ Object
Returns the value of attribute htmlSectionEncoding.
319 320 321 |
# File 'lib/postal/lmapi/lmapi.rb', line 319 def htmlSectionEncoding @htmlSectionEncoding end |
#isHtmlSectionEncoded ⇒ Object
Returns the value of attribute isHtmlSectionEncoded.
316 317 318 |
# File 'lib/postal/lmapi/lmapi.rb', line 316 def isHtmlSectionEncoded @isHtmlSectionEncoded end |
#isTextSectionEncoded ⇒ Object
Returns the value of attribute isTextSectionEncoded.
327 328 329 |
# File 'lib/postal/lmapi/lmapi.rb', line 327 def isTextSectionEncoded @isTextSectionEncoded end |
#listName ⇒ Object
Returns the value of attribute listName.
340 341 342 |
# File 'lib/postal/lmapi/lmapi.rb', line 340 def listName @listName end |
#recencyDays ⇒ Object
Returns the value of attribute recencyDays.
333 334 335 |
# File 'lib/postal/lmapi/lmapi.rb', line 333 def recencyDays @recencyDays end |
#recencyNumberOfMailings ⇒ Object
Returns the value of attribute recencyNumberOfMailings.
332 333 334 |
# File 'lib/postal/lmapi/lmapi.rb', line 332 def recencyNumberOfMailings @recencyNumberOfMailings end |
#recencyWhich ⇒ Object
Returns the value of attribute recencyWhich.
322 323 324 |
# File 'lib/postal/lmapi/lmapi.rb', line 322 def recencyWhich @recencyWhich end |
#replyTo ⇒ Object
Returns the value of attribute replyTo.
326 327 328 |
# File 'lib/postal/lmapi/lmapi.rb', line 326 def replyTo @replyTo end |
#resendAfterDays ⇒ Object
Returns the value of attribute resendAfterDays.
323 324 325 |
# File 'lib/postal/lmapi/lmapi.rb', line 323 def resendAfterDays @resendAfterDays end |
#rewriteDateWhenSent ⇒ Object
Returns the value of attribute rewriteDateWhenSent.
337 338 339 |
# File 'lib/postal/lmapi/lmapi.rb', line 337 def rewriteDateWhenSent @rewriteDateWhenSent end |
#sampleSize ⇒ Object
Returns the value of attribute sampleSize.
324 325 326 |
# File 'lib/postal/lmapi/lmapi.rb', line 324 def sampleSize @sampleSize end |
#subject ⇒ Object
Returns the value of attribute subject.
317 318 319 |
# File 'lib/postal/lmapi/lmapi.rb', line 317 def subject @subject end |
#textMessage ⇒ Object
Returns the value of attribute textMessage.
330 331 332 |
# File 'lib/postal/lmapi/lmapi.rb', line 330 def textMessage @textMessage end |
#textSectionEncoding ⇒ Object
Returns the value of attribute textSectionEncoding.
328 329 330 |
# File 'lib/postal/lmapi/lmapi.rb', line 328 def textSectionEncoding @textSectionEncoding end |
#title ⇒ Object
Returns the value of attribute title.
329 330 331 |
# File 'lib/postal/lmapi/lmapi.rb', line 329 def title @title end |
#to ⇒ Object
Returns the value of attribute to.
321 322 323 |
# File 'lib/postal/lmapi/lmapi.rb', line 321 def to @to end |
#trackOpens ⇒ Object
Returns the value of attribute trackOpens.
331 332 333 |
# File 'lib/postal/lmapi/lmapi.rb', line 331 def trackOpens @trackOpens end |