Class: Jung::Campaign
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#subject ⇒ Object
Returns the value of attribute subject.
Attributes inherited from List
Instance Method Summary collapse
-
#initialize(options) ⇒ Campaign
constructor
A new instance of Campaign.
Methods inherited from List
#create_recipient, #find_recipient_by_address, #load_driver
Constructor Details
#initialize(options) ⇒ Campaign
Returns a new instance of Campaign.
7 8 9 10 11 12 13 14 |
# File 'lib/jung/campaign.rb', line 7 def initialize() @name = [:name] @subject = [:subject] @sender = [:sender] @message = [:message] super end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/jung/campaign.rb', line 4 def id @id end |
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/jung/campaign.rb', line 5 def @message end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/jung/campaign.rb', line 5 def name @name end |
#sender ⇒ Object
Returns the value of attribute sender.
5 6 7 |
# File 'lib/jung/campaign.rb', line 5 def sender @sender end |
#subject ⇒ Object
Returns the value of attribute subject.
5 6 7 |
# File 'lib/jung/campaign.rb', line 5 def subject @subject end |