Class: CapsuleCRM::Tag

Inherits:
Child show all
Defined in:
lib/capsulecrm/tag.rb

Instance Attribute Summary collapse

Attributes inherited from Child

#parent

Attributes inherited from Base

#id, #raw_data

Class Method Summary collapse

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

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/capsulecrm/tag.rb', line 3

def name
  @name
end

Class Method Details

.xml_mapObject

nodoc



6
7
8
9
10
11
# File 'lib/capsulecrm/tag.rb', line 6

def self.xml_map
  map = {
    'name' => 'name'
  }
  super.merge map
end