Class: CapsuleCRM::HistoryItem

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

Instance Attribute Summary collapse

Attributes inherited from Child

#parent

Attributes inherited from Base

#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

#creatorObject

Returns the value of attribute creator.



5
6
7
# File 'lib/capsulecrm/history_item.rb', line 5

def creator
  @creator
end

#entry_dateObject

Returns the value of attribute entry_date.



4
5
6
# File 'lib/capsulecrm/history_item.rb', line 4

def 
  @entry_date
end

#idObject (readonly)

Returns the value of attribute id.



2
3
4
# File 'lib/capsulecrm/history_item.rb', line 2

def id
  @id
end

#noteObject

Returns the value of attribute note.



7
8
9
# File 'lib/capsulecrm/history_item.rb', line 7

def note
  @note
end

#subjectObject

Returns the value of attribute subject.



6
7
8
# File 'lib/capsulecrm/history_item.rb', line 6

def subject
  @subject
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

Class Method Details

.xml_mapObject



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/capsulecrm/history_item.rb', line 9

def self.xml_map
  map = {
    "id" => 'id',
    "type" => 'type',
    "entryDate" => 'entry_date',
    "creator" => 'creator',
    "subject" => 'subject',
    "note" => 'note'
  }
  super.merge map
end