Class: Renalware::Letters::ElectronicRecipientOptions
- Inherits:
-
Object
- Object
- Renalware::Letters::ElectronicRecipientOptions
- Defined in:
- app/models/renalware/letters/electronic_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) ⇒ ElectronicRecipientOptions
constructor
A new instance of ElectronicRecipientOptions.
- #to_a ⇒ Object
Constructor Details
#initialize(patient, author) ⇒ ElectronicRecipientOptions
Returns a new instance of ElectronicRecipientOptions.
16 17 18 19 |
# File 'app/models/renalware/letters/electronic_recipient_options.rb', line 16 def initialize(patient, ) @patient = patient @author = end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
8 9 10 |
# File 'app/models/renalware/letters/electronic_recipient_options.rb', line 8 def @author end |
#patient ⇒ Object (readonly)
Returns the value of attribute patient.
8 9 10 |
# File 'app/models/renalware/letters/electronic_recipient_options.rb', line 8 def patient @patient end |
Instance Method Details
#to_a ⇒ Object
21 22 23 24 25 26 27 |
# File 'app/models/renalware/letters/electronic_recipient_options.rb', line 21 def to_a [ users_having_previously_received_been_cced_about_this_patient, , all_other_users ] end |