Class: Postal::Lmapi::DocPart
- Inherits:
-
Object
- Object
- Postal::Lmapi::DocPart
- Defined in:
- lib/postal/lmapi/lmapi.rb
Overview
http://tempuri.org/ns1.xsdDocPart
body - SOAP::SOAPString
mimePartName - SOAP::SOAPString
charSetID - SOAP::SOAPInt
encoding - MailSectionEncodingEnum
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#charSetID ⇒ Object
Returns the value of attribute charSetID.
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#mimePartName ⇒ Object
Returns the value of attribute mimePartName.
Instance Method Summary collapse
-
#initialize(body = nil, mimePartName = nil, charSetID = nil, encoding = nil) ⇒ DocPart
constructor
A new instance of DocPart.
Constructor Details
#initialize(body = nil, mimePartName = nil, charSetID = nil, encoding = nil) ⇒ DocPart
Returns a new instance of DocPart.
89 90 91 92 93 94 |
# File 'lib/postal/lmapi/lmapi.rb', line 89 def initialize(body = nil, mimePartName = nil, charSetID = nil, encoding = nil) @body = body @mimePartName = mimePartName @charSetID = charSetID @encoding = encoding end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
84 85 86 |
# File 'lib/postal/lmapi/lmapi.rb', line 84 def body @body end |
#charSetID ⇒ Object
Returns the value of attribute charSetID.
86 87 88 |
# File 'lib/postal/lmapi/lmapi.rb', line 86 def charSetID @charSetID end |
#encoding ⇒ Object
Returns the value of attribute encoding.
87 88 89 |
# File 'lib/postal/lmapi/lmapi.rb', line 87 def encoding @encoding end |
#mimePartName ⇒ Object
Returns the value of attribute mimePartName.
85 86 87 |
# File 'lib/postal/lmapi/lmapi.rb', line 85 def mimePartName @mimePartName end |