Class: GlobalSign::ApproverInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/global_sign/approver_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(first_name:, last_name:, function: nil, organization_name:, organization_unit: nil, phone_number:, email:) ⇒ ApproverInfo

Returns a new instance of ApproverInfo.



5
6
7
8
9
10
11
12
13
# File 'lib/global_sign/approver_info.rb', line 5

def initialize(first_name:, last_name:, function: nil, organization_name:, organization_unit: nil, phone_number:, email:)
  @first_name        = first_name
  @last_name         = last_name
  @function          = function
  @organization_name = organization_name
  @organization_unit = organization_unit
  @phone_number      = phone_number
  @email             = email
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def first_name
  @first_name
end

#functionObject

Returns the value of attribute function.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def function
  @function
end

#last_nameObject

Returns the value of attribute last_name.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def last_name
  @last_name
end

#organization_nameObject

Returns the value of attribute organization_name.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def organization_name
  @organization_name
end

#organization_unitObject

Returns the value of attribute organization_unit.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def organization_unit
  @organization_unit
end

#phone_numberObject

Returns the value of attribute phone_number.



3
4
5
# File 'lib/global_sign/approver_info.rb', line 3

def phone_number
  @phone_number
end