Class: CapsuleCRM::HistoryItem
- Defined in:
- lib/capsulecrm/history_item.rb
Instance Attribute Summary collapse
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#entry_date ⇒ Object
Returns the value of attribute entry_date.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#note ⇒ Object
Returns the value of attribute note.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Child
Attributes inherited from Base
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
#creator ⇒ Object
Returns the value of attribute creator.
5 6 7 |
# File 'lib/capsulecrm/history_item.rb', line 5 def creator @creator end |
#entry_date ⇒ Object
Returns the value of attribute entry_date.
4 5 6 |
# File 'lib/capsulecrm/history_item.rb', line 4 def entry_date @entry_date end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
2 3 4 |
# File 'lib/capsulecrm/history_item.rb', line 2 def id @id end |
#note ⇒ Object
Returns the value of attribute note.
7 8 9 |
# File 'lib/capsulecrm/history_item.rb', line 7 def note @note end |
#subject ⇒ Object
Returns the value of attribute subject.
6 7 8 |
# File 'lib/capsulecrm/history_item.rb', line 6 def subject @subject end |
#type ⇒ Object
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_map ⇒ Object
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 |