Class: Landslider::WsEntity
- Inherits:
-
Object
- Object
- Landslider::WsEntity
show all
- Defined in:
- lib/landslider/entities/ws_entity.rb
Direct Known Subclasses
WsAccount, WsAccountNote, WsAddress, WsContact, WsContactNote, WsEmployee, WsLead, WsLeadContact, WsLeadNote, WsNote, WsOpportunityNote, WsOpportunityStatus, WsPaymentTerm, WsPrimaryEntity, WsProduct, WsProductFamily, WsRecordUpsertResult, WsTask, WsUser
Instance Attribute Summary (collapse)
Instance Method Summary
(collapse)
Instance Attribute Details
- (Integer) entity_id
6
7
8
|
# File 'lib/landslider/entities/ws_entity.rb', line 6
def entity_id
@entity_id
end
|
- (String) entity_name
9
10
11
|
# File 'lib/landslider/entities/ws_entity.rb', line 9
def entity_name
@entity_name
end
|
- (String) entity_type
9
10
11
|
# File 'lib/landslider/entities/ws_entity.rb', line 9
def entity_type
@entity_type
end
|
Instance Method Details
- (Object) soapify_for(msg)
11
12
13
|
# File 'lib/landslider/entities/ws_entity.rb', line 11
def soapify_for(msg)
msg.add 'entityId', @entity_id.to_i
end
|