Class: DynamicsCRM::Model::Entity
- Inherits:
-
Object
- Object
- DynamicsCRM::Model::Entity
- Defined in:
- lib/dynamics_crm/model/entity.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#logical_name ⇒ Object
readonly
Returns the value of attribute logical_name.
Instance Method Summary collapse
-
#initialize(logical_name, id, client) ⇒ Entity
constructor
A new instance of Entity.
Constructor Details
#initialize(logical_name, id, client) ⇒ Entity
Returns a new instance of Entity.
7 8 9 10 11 |
# File 'lib/dynamics_crm/model/entity.rb', line 7 def initialize(logical_name, id, client) @logical_name = logical_name @id = id @client = client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
5 6 7 |
# File 'lib/dynamics_crm/model/entity.rb', line 5 def client @client end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/dynamics_crm/model/entity.rb', line 4 def id @id end |
#logical_name ⇒ Object (readonly)
Returns the value of attribute logical_name.
4 5 6 |
# File 'lib/dynamics_crm/model/entity.rb', line 4 def logical_name @logical_name end |