Class: Exchanger::UserConfiguration

Inherits:
Element
  • Object
show all
Defined in:
lib/exchanger/elements/user_configuration.rb

Overview

The UserConfiguration element defines a single user configuration object.

msdn.microsoft.com/en-us/library/office/dd899334(v=exchg.150).aspx

Instance Attribute Summary

Attributes inherited from Element

#tag_name

Instance Method Summary collapse

Methods inherited from Element

#==, #assign_attributes_from_xml, create_element_accessors, element, #errors, #initialize, #inspect, key, new_from_xml, #to_xml, #to_xml_change, #to_xml_updates

Methods included from Persistence

#destroy, #new_record?, #persisted?, #reload, #save

Methods included from Dirty

#attribute_change, #attribute_changed?, #attribute_was, #changed, #changed?, #changes, included, #move_changes, #previous_changes, #reset_attribute!, #reset_modifications, #setup_modifications

Methods included from Attributes

#attributes, #attributes=, #change_key, #id, #identifier, #method_missing, #read_attribute, #respond_to?, #write_attribute

Constructor Details

This class inherits a constructor from Exchanger::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Exchanger::Attributes

Instance Method Details

#category_listObject

A category list is a type of configuration data that contains a list of textual labels (or categories) with associated data, such as color. Other attributes of a category include a shortcut key that can be used to apply a category, a usage counter, the last time the category was applied or used by the user, and a GUID.

msdn.microsoft.com/en-us/library/ee203806(v=exchg.80).aspx



20
21
22
23
# File 'lib/exchanger/elements/user_configuration.rb', line 20

def category_list
  return unless user_configuration_name.name == "CategoryList"
  xml_to_category_list
end