Class: DynamicsCRM::Metadata::RetrieveMetadataChangesResponse

Inherits:
Response::ExecuteResult show all
Defined in:
lib/dynamics_crm/metadata/retrieve_metadata_changes_response.rb

Instance Attribute Summary collapse

Attributes inherited from Response::Result

#document, #result_response

Instance Method Summary collapse

Methods inherited from Response::Result

#method_missing, #parse_result_response, #respond_to_missing?, #response_element

Constructor Details

#initialize(xml) ⇒ RetrieveMetadataChangesResponse

Returns a new instance of RetrieveMetadataChangesResponse.



7
8
9
10
11
12
13
14
# File 'lib/dynamics_crm/metadata/retrieve_metadata_changes_response.rb', line 7

def initialize(xml)
  super
  @entities = []

  self.delete("EntityMetadata").each do |em_xml|
    @entities << EntityMetadata.new(em_xml)
  end
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class DynamicsCRM::Response::Result

Instance Attribute Details

#entitiesObject (readonly)

Returns the value of attribute entities.



5
6
7
# File 'lib/dynamics_crm/metadata/retrieve_metadata_changes_response.rb', line 5

def entities
  @entities
end