Class: DynamicsCRM::Metadata::EntityMetadata

Inherits:
XmlDocument
  • Object
show all
Includes:
RelationshipMetadata
Defined in:
lib/dynamics_crm/metadata/entity_metadata.rb

Overview

Represents EntityMetdata XML fragment. Optionally contains list of AttributeMetadata

Instance Attribute Summary collapse

Attributes inherited from XmlDocument

#document

Instance Method Summary collapse

Methods included from RelationshipMetadata

#many_to_many, #many_to_one, #one_to_many

Methods inherited from XmlDocument

#method_missing, #respond_to_missing?

Constructor Details

#initialize(document) ⇒ EntityMetadata

Returns a new instance of EntityMetadata.



10
11
12
# File 'lib/dynamics_crm/metadata/entity_metadata.rb', line 10

def initialize(document)
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class DynamicsCRM::Metadata::XmlDocument

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



6
7
8
# File 'lib/dynamics_crm/metadata/entity_metadata.rb', line 6

def attributes
  @attributes
end