Class: DynamicsCRM::Response::RetrieveResult

Inherits:
Result
  • Object
show all
Defined in:
lib/dynamics_crm/response/retrieve_result.rb

Instance Attribute Summary

Attributes inherited from Result

#document, #result_response

Instance Method Summary collapse

Methods inherited from Result

#initialize, #method_missing, #respond_to_missing?, #response_element

Constructor Details

This class inherits a constructor from DynamicsCRM::Response::Result

Dynamic Method Handling

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

Instance Method Details

#entityObject

Returns RetrieveResult response body as an Entity object.



6
7
8
# File 'lib/dynamics_crm/response/retrieve_result.rb', line 6

def entity
  @entity ||= XML::Entity.from_xml(@result_response)
end