Class: Etapper::API::Phone
- Inherits:
-
Object
- Object
- Etapper::API::Phone
- Defined in:
- lib/etapper/api/service.rb
Overview
Instance Attribute Summary collapse
-
#number ⇒ Object
Returns the value of attribute number.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(number = nil, type = nil) ⇒ Phone
constructor
A new instance of Phone.
Constructor Details
#initialize(number = nil, type = nil) ⇒ Phone
Returns a new instance of Phone.
153 154 155 156 |
# File 'lib/etapper/api/service.rb', line 153 def initialize(number = nil, type = nil) @number = number @type = type end |
Instance Attribute Details
#number ⇒ Object
Returns the value of attribute number.
150 151 152 |
# File 'lib/etapper/api/service.rb', line 150 def number @number end |
#type ⇒ Object
Returns the value of attribute type.
151 152 153 |
# File 'lib/etapper/api/service.rb', line 151 def type @type end |