Class: Exchanger::ContactsFolder
- Inherits:
-
BaseFolder
- Object
- Element
- BaseFolder
- Exchanger::ContactsFolder
- Defined in:
- lib/exchanger/elements/contacts_folder.rb
Constant Summary
Constants inherited from BaseFolder
BaseFolder::DISTINGUISHED_NAMES
Instance Attribute Summary
Attributes inherited from BaseFolder
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from BaseFolder
#category_list, #expanded_items, find, find_all, find_all_by_parent_id, #folders, #items
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
#contacts ⇒ Object
5 6 7 8 9 |
# File 'lib/exchanger/elements/contacts_folder.rb', line 5 def contacts items.select do |item| item.is_a?(Contact) end end |