Module: MissingMethodStaticCollection
- Included in:
- Zm::Client::Base::ZimbraAttributesCollection, Zm::Client::DistributionListAcesCollection, Zm::Client::DistributionListAliasesCollection, Zm::Client::FolderGrantsCollection, Zm::Client::FolderRetentionPoliciesCollection, Zm::Client::Message::AttachmentsCollection
- Defined in:
- lib/zm/modules/missing_method_static_collection.rb
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/zm/modules/missing_method_static_collection.rb', line 6 def method_missing(method, *args, &block) if @all.respond_to?(method) @all.send(method, *args, &block) else super end end |
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.
4 5 6 |
# File 'lib/zm/modules/missing_method_static_collection.rb', line 4 def all @all end |