Method: Fog::Collection#initialize
- Defined in:
- lib/fog/core/collection.rb
#initialize(attributes = {}) ⇒ Fog::Collection
Creates a new Fog::Collection based around the passed service
68 69 70 71 72 |
# File 'lib/fog/core/collection.rb', line 68 def initialize(attributes = {}) @service = attributes.delete(:service) @loaded = false merge_attributes(attributes) end |