Class: Emailable::BatchStatus
- Inherits:
-
APIResource
- Object
- APIResource
- Emailable::BatchStatus
- Defined in:
- lib/emailable/resources/batch_status.rb
Instance Attribute Summary collapse
-
#download_file ⇒ Object
Returns the value of attribute download_file.
-
#emails ⇒ Object
Returns the value of attribute emails.
-
#id ⇒ Object
Returns the value of attribute id.
-
#message ⇒ Object
Returns the value of attribute message.
-
#processed ⇒ Object
Returns the value of attribute processed.
-
#reason_counts ⇒ Object
Returns the value of attribute reason_counts.
-
#total ⇒ Object
Returns the value of attribute total.
-
#total_counts ⇒ Object
Returns the value of attribute total_counts.
Instance Method Summary collapse
Methods inherited from APIResource
#initialize, #inspect, #to_h, #to_json
Constructor Details
This class inherits a constructor from Emailable::APIResource
Instance Attribute Details
#download_file ⇒ Object
Returns the value of attribute download_file.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def download_file @download_file end |
#emails ⇒ Object
Returns the value of attribute emails.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def emails @emails end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def id @id end |
#message ⇒ Object
Returns the value of attribute message.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def @message end |
#processed ⇒ Object
Returns the value of attribute processed.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def processed @processed end |
#reason_counts ⇒ Object
Returns the value of attribute reason_counts.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def reason_counts @reason_counts end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def total @total end |
#total_counts ⇒ Object
Returns the value of attribute total_counts.
3 4 5 |
# File 'lib/emailable/resources/batch_status.rb', line 3 def total_counts @total_counts end |
Instance Method Details
#complete? ⇒ Boolean
6 7 8 |
# File 'lib/emailable/resources/batch_status.rb', line 6 def complete? .include?('completed') end |