Class: ObiWan::Type::Phone

Inherits:
Builder
  • Object
show all
Defined in:
lib/obi-wan/type.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Builder

#initialize

Constructor Details

This class inherits a constructor from ObiWan::Type::Builder

Instance Attribute Details

#area_codeObject

Returns the value of attribute area_code.



52
53
54
# File 'lib/obi-wan/type.rb', line 52

def area_code
  @area_code
end

#country_codeObject

Returns the value of attribute country_code.



51
52
53
# File 'lib/obi-wan/type.rb', line 51

def country_code
  @country_code
end

#numberObject

Returns the value of attribute number.



53
54
55
# File 'lib/obi-wan/type.rb', line 53

def number
  @number
end

#typeObject

Returns the value of attribute type.



54
55
56
# File 'lib/obi-wan/type.rb', line 54

def type
  @type
end