Class: Eversign::Models::Recipient

Inherits:
Object
  • Object
show all
Defined in:
lib/eversign/models/recipient.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/eversign/models/recipient.rb', line 4

def email
  @email
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/eversign/models/recipient.rb', line 4

def name
  @name
end

#roleObject

Returns the value of attribute role.



4
5
6
# File 'lib/eversign/models/recipient.rb', line 4

def role
  @role
end