Sha256: 54f8dedef8e1dbcd3ea0b7c9b21abb5ef9f9448bcea7f19e5fb7decf26fd9aae

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

module Fog
  class Association < Collection
    def initialize(associations = [])
      @loaded = true
      load(associations)
    end

    def load(associations)
      return unless associations.kind_of?(Array)

      associations.each do |association|
        self << association
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-core-2.6.0 lib/fog/core/association.rb
fog-core-2.5.0 lib/fog/core/association.rb
fog-core-2.4.0 lib/fog/core/association.rb