Class: CapsuleCRM::Phone
- Defined in:
- lib/capsulecrm/phone.rb
Instance Attribute Summary collapse
-
#number ⇒ Object
Returns the value of attribute number.
Attributes inherited from Contact
Attributes inherited from Child
Attributes inherited from Base
Class Method Summary collapse
-
.xml_map ⇒ Object
nodoc.
Methods inherited from Contact
Methods inherited from Child
init_many, init_one, #initialize
Methods inherited from Base
#==, #errors, find, #initialize, last_response, #new_record?
Constructor Details
This class inherits a constructor from CapsuleCRM::Child
Instance Attribute Details
#number ⇒ Object
Returns the value of attribute number.
3 4 5 |
# File 'lib/capsulecrm/phone.rb', line 3 def number @number end |
Class Method Details
.xml_map ⇒ Object
nodoc
7 8 9 10 11 12 |
# File 'lib/capsulecrm/phone.rb', line 7 def self.xml_map map = { 'phoneNumber' => 'number' } super.merge map end |