Class: DynamicsCRM::Metadata::RetrieveEntityResponse
- Inherits:
- 
      Response::ExecuteResult
      
        - Object
- Hash
- Response::Result
- Response::ExecuteResult
- DynamicsCRM::Metadata::RetrieveEntityResponse
 
- Defined in:
- lib/dynamics_crm/metadata/retrieve_entity_response.rb
Overview
RetrieveEntity returns a single EntityMetadata element.
Instance Attribute Summary collapse
- 
  
    
      #attributes  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute attributes. 
- 
  
    
      #entity  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute entity. 
Attributes inherited from Response::Result
Instance Method Summary collapse
- 
  
    
      #initialize(xml)  ⇒ RetrieveEntityResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RetrieveEntityResponse. 
Methods inherited from Response::Result
#method_missing, #parse_result_response, #respond_to_missing?, #response_element
Constructor Details
#initialize(xml) ⇒ RetrieveEntityResponse
Returns a new instance of RetrieveEntityResponse.
| 8 9 10 11 12 13 | # File 'lib/dynamics_crm/metadata/retrieve_entity_response.rb', line 8 def initialize(xml) super # Single KeyValuePair containing 1 value type of EntityMetadata @entity = EntityMetadata.new(self["EntityMetadata"]) end | 
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DynamicsCRM::Response::Result
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
| 6 7 8 | # File 'lib/dynamics_crm/metadata/retrieve_entity_response.rb', line 6 def attributes @attributes end | 
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
| 6 7 8 | # File 'lib/dynamics_crm/metadata/retrieve_entity_response.rb', line 6 def entity @entity end |