Class: GlobalSign::Contract

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(first_name:, last_name:, phone_number:, email:) ⇒ Contract

Returns a new instance of Contract.



5
6
7
8
9
10
# File 'lib/global_sign/contract.rb', line 5

def initialize(first_name:, last_name:, phone_number:, email:)
  @first_name   = first_name
  @last_name    = last_name
  @phone_number = phone_number
  @email        = email
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#last_nameObject

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#phone_numberObject

Returns the value of attribute phone_number.



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

def phone_number
  @phone_number
end