Class: CapsuleCRM::Phone

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
Serializable
Defined in:
lib/capsule_crm/phone.rb

Instance Method Summary collapse

Methods included from Serializable

included, #serializer, #to_capsule_json

Constructor Details

#initialize(attributes = {}) ⇒ Phone

Returns a new instance of Phone.



16
17
18
19
# File 'lib/capsule_crm/phone.rb', line 16

def initialize(attributes = {})
  CapsuleCRM::HashHelper.underscore_keys!(attributes)
  super(attributes)
end