Class: Content
- Inherits:
-
Object
- Object
- Content
- Defined in:
- lib/default.rb
Overview
http://mxmaster.net/campaign/0.1Content
subject - SOAP::SOAPString
html - SOAP::SOAPString
text - SOAP::SOAPString
Instance Attribute Summary collapse
-
#html ⇒ Object
Returns the value of attribute html.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(subject = nil, html = nil, text = nil) ⇒ Content
constructor
A new instance of Content.
Constructor Details
#initialize(subject = nil, html = nil, text = nil) ⇒ Content
Returns a new instance of Content.
65 66 67 68 69 |
# File 'lib/default.rb', line 65 def initialize(subject = nil, html = nil, text = nil) @subject = subject @html = html @text = text end |
Instance Attribute Details
#html ⇒ Object
Returns the value of attribute html.
62 63 64 |
# File 'lib/default.rb', line 62 def html @html end |
#subject ⇒ Object
Returns the value of attribute subject.
61 62 63 |
# File 'lib/default.rb', line 61 def subject @subject end |
#text ⇒ Object
Returns the value of attribute text.
63 64 65 |
# File 'lib/default.rb', line 63 def text @text end |