Class: Phone
- Inherits:
-
Object
- Object
- Phone
- Defined in:
- lib/zaig/entities/phone.rb
Overview
Class to create phone-like objects.
Instance Attribute Summary collapse
-
#area_code ⇒ Object
Returns the value of attribute area_code.
-
#international_dial_code ⇒ Object
Returns the value of attribute international_dial_code.
-
#number ⇒ Object
Returns the value of attribute number.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#area_code ⇒ Object
Returns the value of attribute area_code.
5 6 7 |
# File 'lib/zaig/entities/phone.rb', line 5 def area_code @area_code end |
#international_dial_code ⇒ Object
Returns the value of attribute international_dial_code.
5 6 7 |
# File 'lib/zaig/entities/phone.rb', line 5 def international_dial_code @international_dial_code end |
#number ⇒ Object
Returns the value of attribute number.
5 6 7 |
# File 'lib/zaig/entities/phone.rb', line 5 def number @number end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/zaig/entities/phone.rb', line 5 def type @type end |