Class: Pastvu::ClusterCollection
- Inherits:
-
Collection
- Object
- BasicResponse
- Collection
- Pastvu::ClusterCollection
- Defined in:
- lib/pastvu/cluster/cluster_collection.rb
Instance Attribute Summary
Attributes inherited from BasicResponse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ ClusterCollection
constructor
A new instance of ClusterCollection.
Methods inherited from Collection
Methods inherited from BasicResponse
Constructor Details
#initialize(attributes) ⇒ ClusterCollection
Returns a new instance of ClusterCollection.
3 4 5 6 7 |
# File 'lib/pastvu/cluster/cluster_collection.rb', line 3 def initialize(attributes) super attributes @path = %w[result clusters] @model = Cluster end |