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