Class: Etapper::PhoneHash

Inherits:
EtapHash
  • Object
show all
Defined in:
lib/etapper/classes/phone_hash.rb

Instance Attribute Summary

Attributes inherited from EtapHash

#base, #detailed, #etapper_class

Instance Method Summary collapse

Methods inherited from EtapHash

#[]=, #hash_assign

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