Class: GlobalSign::Contract
- Inherits:
-
Object
- Object
- GlobalSign::Contract
- Defined in:
- lib/global_sign/contract.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
Instance Method Summary collapse
-
#initialize(first_name:, last_name:, phone_number:, email:) ⇒ Contract
constructor
A new instance of Contract.
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
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/global_sign/contract.rb', line 3 def email @email end |
#first_name ⇒ Object
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_name ⇒ Object
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_number ⇒ Object
Returns the value of attribute phone_number.
3 4 5 |
# File 'lib/global_sign/contract.rb', line 3 def phone_number @phone_number end |