Class: Postal::Lmapi::SimpleMailingStruct
- Inherits:
-
Object
- Object
- Postal::Lmapi::SimpleMailingStruct
- Defined in:
- lib/postal/lmapi/lmapi.rb
Overview
http://tempuri.org/ns1.xsdSimpleMailingStruct
subject - SOAP::SOAPString
isHtmlSectionEncoded - SOAP::SOAPBoolean
htmlSectionEncoding - SOAP::SOAPInt
htmlMessage - SOAP::SOAPString
to - SOAP::SOAPString
charSetID - SOAP::SOAPInt
isTextSectionEncoded - SOAP::SOAPBoolean
textSectionEncoding - SOAP::SOAPInt
title - SOAP::SOAPString
textMessage - SOAP::SOAPString
- SOAP::SOAPString
from - SOAP::SOAPString
additionalHeaders - SOAP::SOAPString
Instance Attribute Summary collapse
-
#additionalHeaders ⇒ Object
Returns the value of attribute additionalHeaders.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#charSetID ⇒ Object
Returns the value of attribute charSetID.
-
#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.
-
#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.
Instance Method Summary collapse
-
#[](method) ⇒ Object
This lets us initialize a new MailingStruct by passing in a SimpleMailingStruct mail = Postal::Lmapi::MailingStruct.new(content).
-
#initialize(subject = nil, isHtmlSectionEncoded = nil, htmlSectionEncoding = nil, htmlMessage = nil, to = nil, charSetID = nil, isTextSectionEncoded = nil, textSectionEncoding = nil, title = nil, textMessage = nil, attachments = nil, from = nil, additionalHeaders = nil) ⇒ SimpleMailingStruct
constructor
A new instance of SimpleMailingStruct.
Constructor Details
#initialize(subject = nil, isHtmlSectionEncoded = nil, htmlSectionEncoding = nil, htmlMessage = nil, to = nil, charSetID = nil, isTextSectionEncoded = nil, textSectionEncoding = nil, title = nil, textMessage = nil, attachments = nil, from = nil, additionalHeaders = nil) ⇒ SimpleMailingStruct
Returns a new instance of SimpleMailingStruct.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/postal/lmapi/lmapi.rb', line 36 def initialize(subject = nil, isHtmlSectionEncoded = nil, htmlSectionEncoding = nil, htmlMessage = nil, to = nil, charSetID = nil, isTextSectionEncoded = nil, textSectionEncoding = nil, title = nil, textMessage = nil, = nil, from = nil, additionalHeaders = nil) @subject = subject @isHtmlSectionEncoded = isHtmlSectionEncoded @htmlSectionEncoding = htmlSectionEncoding @htmlMessage = htmlMessage @to = to @charSetID = charSetID @isTextSectionEncoded = isTextSectionEncoded @textSectionEncoding = textSectionEncoding @title = title @textMessage = textMessage @attachments = @from = from @additionalHeaders = additionalHeaders end |
Instance Attribute Details
#additionalHeaders ⇒ Object
Returns the value of attribute additionalHeaders.
34 35 36 |
# File 'lib/postal/lmapi/lmapi.rb', line 34 def additionalHeaders @additionalHeaders end |
#attachments ⇒ Object
Returns the value of attribute attachments.
32 33 34 |
# File 'lib/postal/lmapi/lmapi.rb', line 32 def @attachments end |
#charSetID ⇒ Object
Returns the value of attribute charSetID.
27 28 29 |
# File 'lib/postal/lmapi/lmapi.rb', line 27 def charSetID @charSetID end |
#from ⇒ Object
Returns the value of attribute from.
33 34 35 |
# File 'lib/postal/lmapi/lmapi.rb', line 33 def from @from end |
#htmlMessage ⇒ Object
Returns the value of attribute htmlMessage.
25 26 27 |
# File 'lib/postal/lmapi/lmapi.rb', line 25 def htmlMessage @htmlMessage end |
#htmlSectionEncoding ⇒ Object
Returns the value of attribute htmlSectionEncoding.
24 25 26 |
# File 'lib/postal/lmapi/lmapi.rb', line 24 def htmlSectionEncoding @htmlSectionEncoding end |
#isHtmlSectionEncoded ⇒ Object
Returns the value of attribute isHtmlSectionEncoded.
23 24 25 |
# File 'lib/postal/lmapi/lmapi.rb', line 23 def isHtmlSectionEncoded @isHtmlSectionEncoded end |
#isTextSectionEncoded ⇒ Object
Returns the value of attribute isTextSectionEncoded.
28 29 30 |
# File 'lib/postal/lmapi/lmapi.rb', line 28 def isTextSectionEncoded @isTextSectionEncoded end |
#subject ⇒ Object
Returns the value of attribute subject.
22 23 24 |
# File 'lib/postal/lmapi/lmapi.rb', line 22 def subject @subject end |
#textMessage ⇒ Object
Returns the value of attribute textMessage.
31 32 33 |
# File 'lib/postal/lmapi/lmapi.rb', line 31 def textMessage @textMessage end |
#textSectionEncoding ⇒ Object
Returns the value of attribute textSectionEncoding.
29 30 31 |
# File 'lib/postal/lmapi/lmapi.rb', line 29 def textSectionEncoding @textSectionEncoding end |
#title ⇒ Object
Returns the value of attribute title.
30 31 32 |
# File 'lib/postal/lmapi/lmapi.rb', line 30 def title @title end |
#to ⇒ Object
Returns the value of attribute to.
26 27 28 |
# File 'lib/postal/lmapi/lmapi.rb', line 26 def to @to end |
Instance Method Details
#[](method) ⇒ Object
This lets us initialize a new MailingStruct by passing in a SimpleMailingStruct mail = Postal::Lmapi::MailingStruct.new(content)
54 55 56 57 58 59 60 |
# File 'lib/postal/lmapi/lmapi.rb', line 54 def [](method) begin self.send(method) rescue return nil end end |