Class: Content

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#htmlObject

Returns the value of attribute html.



62
63
64
# File 'lib/default.rb', line 62

def html
  @html
end

#subjectObject

Returns the value of attribute subject.



61
62
63
# File 'lib/default.rb', line 61

def subject
  @subject
end

#textObject

Returns the value of attribute text.



63
64
65
# File 'lib/default.rb', line 63

def text
  @text
end