Class: Arrest::IdsCollection
- Inherits:
-
Object
- Object
- Arrest::IdsCollection
- Defined in:
- lib/arrest/helper/ids_collection.rb
Instance Method Summary collapse
-
#initialize(parent, ids_url) ⇒ IdsCollection
constructor
A new instance of IdsCollection.
- #inspect ⇒ Object
- #method_missing(*args, &block) ⇒ Object
Constructor Details
#initialize(parent, ids_url) ⇒ IdsCollection
Returns a new instance of IdsCollection.
4 5 6 7 8 |
# File 'lib/arrest/helper/ids_collection.rb', line 4 def initialize(parent, ids_url) @collection = nil @parent = parent @url = ids_url end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
10 11 12 |
# File 'lib/arrest/helper/ids_collection.rb', line 10 def method_missing(*args, &block) collection.send(*args, &block) end |
Instance Method Details
#inspect ⇒ Object
14 15 16 |
# File 'lib/arrest/helper/ids_collection.rb', line 14 def inspect collection.inspect end |