def object
      element = xml_parent_element.elements.find { |element| element.name == association_name }
      return unless element.present?

      @object ||= begin
        new_object = klass.new
        new_object.xml_parent_element = xml_parent_element
        new_object.xml_element = element
        new_object
      end
    end
def object
      element = xml_parent_element.elements.find { |element| element.name == association_name }
      return unless element.present?

      @object ||= begin
        new_object = klass.new
        new_object.xml_parent_element = xml_parent_element
        new_object.xml_element = element
        new_object
      end
    end
Getter Method