Class: DynamicsCRM::Model::Entity

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamics_crm/model/entity.rb

Direct Known Subclasses

Opportunity

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#clientObject

Returns the value of attribute client.



5
6
7
# File 'lib/dynamics_crm/model/entity.rb', line 5

def client
  @client
end

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/dynamics_crm/model/entity.rb', line 4

def id
  @id
end

#logical_nameObject (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