Class: Phone

Inherits:
Object
  • Object
show all
Defined in:
lib/zaig/entities/phone.rb

Overview

Class to create phone-like objects.

Instance Attribute Summary collapse

Instance Attribute Details

#area_codeObject

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_codeObject

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

#numberObject

Returns the value of attribute number.



5
6
7
# File 'lib/zaig/entities/phone.rb', line 5

def number
  @number
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/zaig/entities/phone.rb', line 5

def type
  @type
end