Class: Zm::Client::SignaturesCollection
- Inherits:
-
Base::ObjectsCollection
- Object
- Base::ObjectsCollection
- Zm::Client::SignaturesCollection
- Defined in:
- lib/zm/client/signature/signatures_collection.rb
Overview
collection of signatures
Constant Summary collapse
- METHODS_MISSING_LIST =
i[select each map length].to_set.freeze
Instance Attribute Summary
Attributes inherited from Base::ObjectsCollection
Instance Method Summary collapse
-
#initialize(parent) ⇒ SignaturesCollection
constructor
A new instance of SignaturesCollection.
- #new {|signature| ... } ⇒ Object
Methods inherited from Base::ObjectsCollection
#all, #all!, #attrs, #build_from_entry, #count, #find, #first, #method_missing, #order, #page, #per_page, #respond_to_missing?, #where
Constructor Details
#initialize(parent) ⇒ SignaturesCollection
Returns a new instance of SignaturesCollection.
9 10 11 |
# File 'lib/zm/client/signature/signatures_collection.rb', line 9 def initialize(parent) @parent = parent end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Zm::Client::Base::ObjectsCollection
Instance Method Details
#new {|signature| ... } ⇒ Object
13 14 15 16 17 |
# File 'lib/zm/client/signature/signatures_collection.rb', line 13 def new signature = Signature.new(@parent) yield(signature) if block_given? signature end |