Class: DynamicsCRM::Metadata::RetrieveMetadataChangesResponse
- Inherits:
-
Response::ExecuteResult
- Object
- Hash
- Response::Result
- Response::ExecuteResult
- DynamicsCRM::Metadata::RetrieveMetadataChangesResponse
- Defined in:
- lib/dynamics_crm/metadata/retrieve_metadata_changes_response.rb
Instance Attribute Summary collapse
-
#entities ⇒ Object
readonly
Returns the value of attribute entities.
Attributes inherited from Response::Result
Instance Method Summary collapse
-
#initialize(xml) ⇒ RetrieveMetadataChangesResponse
constructor
A new instance of RetrieveMetadataChangesResponse.
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
#entities ⇒ Object (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 |