Class: Seiun::Job::Batch
- Inherits:
-
Object
- Object
- Seiun::Job::Batch
- Defined in:
- lib/seiun/job.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#job_id ⇒ Object
Returns the value of attribute job_id.
-
#number_records_processed ⇒ Object
Returns the value of attribute number_records_processed.
-
#sf_created_at ⇒ Object
Returns the value of attribute sf_created_at.
-
#sf_state ⇒ Object
Returns the value of attribute sf_state.
-
#sf_state_message ⇒ Object
Returns the value of attribute sf_state_message.
-
#sf_updated_at ⇒ Object
Returns the value of attribute sf_updated_at.
Instance Method Summary collapse
-
#initialize(id) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(id) ⇒ Batch
Returns a new instance of Batch.
177 178 179 |
# File 'lib/seiun/job.rb', line 177 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
174 175 176 |
# File 'lib/seiun/job.rb', line 174 def id @id end |
#job_id ⇒ Object
Returns the value of attribute job_id.
175 176 177 |
# File 'lib/seiun/job.rb', line 175 def job_id @job_id end |
#number_records_processed ⇒ Object
Returns the value of attribute number_records_processed.
175 176 177 |
# File 'lib/seiun/job.rb', line 175 def number_records_processed @number_records_processed end |
#sf_created_at ⇒ Object
Returns the value of attribute sf_created_at.
175 176 177 |
# File 'lib/seiun/job.rb', line 175 def sf_created_at @sf_created_at end |
#sf_state ⇒ Object
Returns the value of attribute sf_state.
175 176 177 |
# File 'lib/seiun/job.rb', line 175 def sf_state @sf_state end |
#sf_state_message ⇒ Object
Returns the value of attribute sf_state_message.
175 176 177 |
# File 'lib/seiun/job.rb', line 175 def @sf_state_message end |
#sf_updated_at ⇒ Object
Returns the value of attribute sf_updated_at.
175 176 177 |
# File 'lib/seiun/job.rb', line 175 def sf_updated_at @sf_updated_at end |