Class: Emarsys::Broadcast::Batch
- Inherits:
-
Object
- Object
- Emarsys::Broadcast::Batch
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/emarsys/broadcast/batch.rb
Instance Attribute Summary collapse
-
#body_html ⇒ Object
Returns the value of attribute body_html.
-
#body_text ⇒ Object
Returns the value of attribute body_text.
-
#import_delay_hours ⇒ Object
Returns the value of attribute import_delay_hours.
-
#name ⇒ Object
Returns the value of attribute name.
-
#recipients_path ⇒ Object
Returns the value of attribute recipients_path.
-
#send_time ⇒ Object
Returns the value of attribute send_time.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#sender_domain ⇒ Object
Returns the value of attribute sender_domain.
-
#sender_id ⇒ Object
Returns the value of attribute sender_id.
-
#subject ⇒ Object
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(attributes = {}) ⇒ Batch
Returns a new instance of Batch.
24 25 26 27 28 |
# File 'lib/emarsys/broadcast/batch.rb', line 24 def initialize(attributes = {}) attributes.each do |name, value| send("#{name}=", value) end end |
Instance Attribute Details
#body_html ⇒ Object
Returns the value of attribute body_html.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def body_html @body_html end |
#body_text ⇒ Object
Returns the value of attribute body_text.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def body_text @body_text end |
#import_delay_hours ⇒ Object
Returns the value of attribute import_delay_hours.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def import_delay_hours @import_delay_hours end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def name @name end |
#recipients_path ⇒ Object
Returns the value of attribute recipients_path.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def recipients_path @recipients_path end |
#send_time ⇒ Object
Returns the value of attribute send_time.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def send_time @send_time end |
#sender ⇒ Object
Returns the value of attribute sender.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def sender @sender end |
#sender_domain ⇒ Object
Returns the value of attribute sender_domain.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def sender_domain @sender_domain end |
#sender_id ⇒ Object
Returns the value of attribute sender_id.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def sender_id @sender_id end |
#subject ⇒ Object
Returns the value of attribute subject.
6 7 8 |
# File 'lib/emarsys/broadcast/batch.rb', line 6 def subject @subject end |