Class: Eversign::Models::Recipient
- Inherits:
-
Object
- Object
- Eversign::Models::Recipient
- Defined in:
- lib/eversign/models/recipient.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
-
#role ⇒ Object
Returns the value of attribute role.
Instance Method Summary collapse
-
#initialize(name = nil, email = nil, role = nil) ⇒ Recipient
constructor
A new instance of Recipient.
Constructor Details
#initialize(name = nil, email = nil, role = nil) ⇒ Recipient
Returns a new instance of Recipient.
6 7 8 9 10 |
# File 'lib/eversign/models/recipient.rb', line 6 def initialize(name=nil, email=nil, role=nil) self.name = name self.email = email self.role = role end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/eversign/models/recipient.rb', line 4 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/eversign/models/recipient.rb', line 4 def name @name end |
#role ⇒ Object
Returns the value of attribute role.
4 5 6 |
# File 'lib/eversign/models/recipient.rb', line 4 def role @role end |