Class: Emarsys::Broadcast::Batch

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/emarsys/broadcast/batch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_htmlObject

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_textObject

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_hoursObject

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

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/emarsys/broadcast/batch.rb', line 6

def name
  @name
end

#recipients_pathObject

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_timeObject

Returns the value of attribute send_time.



6
7
8
# File 'lib/emarsys/broadcast/batch.rb', line 6

def send_time
  @send_time
end

#senderObject

Returns the value of attribute sender.



6
7
8
# File 'lib/emarsys/broadcast/batch.rb', line 6

def sender
  @sender
end

#sender_domainObject

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_idObject

Returns the value of attribute sender_id.



6
7
8
# File 'lib/emarsys/broadcast/batch.rb', line 6

def sender_id
  @sender_id
end

#subjectObject

Returns the value of attribute subject.



6
7
8
# File 'lib/emarsys/broadcast/batch.rb', line 6

def subject
  @subject
end