Class: OpportunityBriefing::Request::Result
- Inherits:
-
Data
- Object
- Data
- OpportunityBriefing::Request::Result
- Defined in:
- app/services/opportunity_briefing/request.rb
Instance Attribute Summary collapse
-
#conversation ⇒ Object
readonly
Returns the value of attribute conversation.
-
#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(conversation: nil, status: nil, enqueued: false, job_id: nil, error_message: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(conversation: nil, status: nil, enqueued: false, job_id: nil, error_message: nil) ⇒ Result
Returns a new instance of Result.
18 |
# File 'app/services/opportunity_briefing/request.rb', line 18 def initialize(conversation: nil, status: nil, enqueued: false, job_id: nil, error_message: nil) = super |
Instance Attribute Details
#conversation ⇒ Object (readonly)
Returns the value of attribute conversation
17 18 19 |
# File 'app/services/opportunity_briefing/request.rb', line 17 def conversation @conversation end |
#enqueued ⇒ Object (readonly)
Returns the value of attribute enqueued
17 18 19 |
# File 'app/services/opportunity_briefing/request.rb', line 17 def enqueued @enqueued end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message
17 18 19 |
# File 'app/services/opportunity_briefing/request.rb', line 17 def @error_message end |
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id
17 18 19 |
# File 'app/services/opportunity_briefing/request.rb', line 17 def job_id @job_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
17 18 19 |
# File 'app/services/opportunity_briefing/request.rb', line 17 def status @status end |