Class: Renalware::Messaging::Internal::RecipientOptions
- Inherits:
-
Object
- Object
- Renalware::Messaging::Internal::RecipientOptions
- Defined in:
- app/models/renalware/messaging/internal/recipient_options.rb
Defined Under Namespace
Classes: Group
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#patient ⇒ Object
readonly
Returns the value of attribute patient.
Instance Method Summary collapse
-
#initialize(patient, author) ⇒ RecipientOptions
constructor
A new instance of RecipientOptions.
- #to_a ⇒ Object
Constructor Details
#initialize(patient, author) ⇒ RecipientOptions
Returns a new instance of RecipientOptions.
26 27 28 29 |
# File 'app/models/renalware/messaging/internal/recipient_options.rb', line 26 def initialize(patient, ) @patient = patient @author = end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
18 19 20 |
# File 'app/models/renalware/messaging/internal/recipient_options.rb', line 18 def @author end |
#patient ⇒ Object (readonly)
Returns the value of attribute patient.
18 19 20 |
# File 'app/models/renalware/messaging/internal/recipient_options.rb', line 18 def patient @patient end |
Instance Method Details
#to_a ⇒ Object
31 32 33 34 35 36 37 |
# File 'app/models/renalware/messaging/internal/recipient_options.rb', line 31 def to_a [ , , all_other_users ] end |