Class: CapsuleCRM::Phone
- Inherits:
-
Object
- Object
- CapsuleCRM::Phone
- Extended by:
- ActiveModel::Naming
- Includes:
- Serializable
- Defined in:
- lib/capsule_crm/phone.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Phone
constructor
A new instance of Phone.
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 |