Class: CapsuleCRM::Phone

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
ActiveModel::Serializers::JSON, CapsuleJsonable, Virtus
Defined in:
lib/capsule_crm/phone.rb

Instance Method Summary collapse

Methods included from CapsuleJsonable

#to_capsule_json

Constructor Details

#initialize(attributes = {}) ⇒ Phone

Returns a new instance of Phone.



13
14
15
16
# File 'lib/capsule_crm/phone.rb', line 13

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