Class: OpportunityBriefing::Generate::Result
- Inherits:
-
Data
- Object
- Data
- OpportunityBriefing::Generate::Result
- Defined in:
- app/services/opportunity_briefing/generate.rb
Instance Attribute Summary collapse
-
#enqueued ⇒ Object
readonly
Returns the value of attribute enqueued.
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status: nil, enqueued: false, job_id: nil, error_message: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(status: nil, enqueued: false, job_id: nil, error_message: nil) ⇒ Result
Returns a new instance of Result.
16 |
# File 'app/services/opportunity_briefing/generate.rb', line 16 def initialize(status: nil, enqueued: false, job_id: nil, error_message: nil) = super |
Instance Attribute Details
#enqueued ⇒ Object (readonly)
Returns the value of attribute enqueued
15 16 17 |
# File 'app/services/opportunity_briefing/generate.rb', line 15 def enqueued @enqueued end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message
15 16 17 |
# File 'app/services/opportunity_briefing/generate.rb', line 15 def @error_message end |
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id
15 16 17 |
# File 'app/services/opportunity_briefing/generate.rb', line 15 def job_id @job_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
15 16 17 |
# File 'app/services/opportunity_briefing/generate.rb', line 15 def status @status end |