Class: Order::FollowUpScheduler::Result
- Inherits:
-
Data
- Object
- Data
- Order::FollowUpScheduler::Result
- Defined in:
- app/services/order/follow_up_scheduler.rb
Instance Attribute Summary collapse
-
#activity ⇒ Object
readonly
Returns the value of attribute activity.
-
#activity_scheduled ⇒ Object
readonly
Returns the value of attribute activity_scheduled.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
Instance Method Summary collapse
- #activity_scheduled? ⇒ Boolean
-
#initialize(order: nil, activity: nil, activity_scheduled: nil, messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(order: nil, activity: nil, activity_scheduled: nil, messages: []) ⇒ Result
Returns a new instance of Result.
5 |
# File 'app/services/order/follow_up_scheduler.rb', line 5 def initialize(order: nil, activity: nil, activity_scheduled: nil, messages: []) = super |
Instance Attribute Details
#activity ⇒ Object (readonly)
Returns the value of attribute activity
4 5 6 |
# File 'app/services/order/follow_up_scheduler.rb', line 4 def activity @activity end |
#activity_scheduled ⇒ Object (readonly)
Returns the value of attribute activity_scheduled
4 5 6 |
# File 'app/services/order/follow_up_scheduler.rb', line 4 def activity_scheduled @activity_scheduled end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
4 5 6 |
# File 'app/services/order/follow_up_scheduler.rb', line 4 def @messages end |
#order ⇒ Object (readonly)
Returns the value of attribute order
4 5 6 |
# File 'app/services/order/follow_up_scheduler.rb', line 4 def order @order end |
Instance Method Details
#activity_scheduled? ⇒ Boolean
6 |
# File 'app/services/order/follow_up_scheduler.rb', line 6 def activity_scheduled? = activity_scheduled |