Class: Etapper::PhoneHash
- Defined in:
- lib/etapper/classes/phone_hash.rb
Instance Attribute Summary
Attributes inherited from EtapHash
#base, #detailed, #etapper_class
Instance Method Summary collapse
-
#initialize(array_from_api) ⇒ PhoneHash
constructor
A new instance of PhoneHash.
Methods inherited from EtapHash
Constructor Details
#initialize(array_from_api) ⇒ PhoneHash
Returns a new instance of PhoneHash.
6 7 8 |
# File 'lib/etapper/classes/phone_hash.rb', line 6 def initialize(array_from_api) super(array_from_api, Phone, :type, :number) end |