Sha256: 988e2e0b07dc4605ae637c900ec10195b261c90848c1d580a90f19da61c80d26

Contents?: true

Size: 509 Bytes

Versions: 52

Compression:

Stored size: 509 Bytes

Contents

require 'fog/aws/models/efs/file_system'

module Fog
  module AWS
    class EFS
      class FileSystems < Fog::Collection
        model Fog::AWS::EFS::FileSystem

        def all
          data = service.describe_file_systems.body["FileSystems"]
          load(data)
        end

        def get(identity)
          data = service.describe_file_systems(:id => identity).body["FileSystems"].first
          new(data)
        rescue Fog::AWS::EFS::NotFound
          nil
        end
      end
    end
  end
end

Version data entries

52 entries across 50 versions & 2 rubygems

Version Path
fog-aws-3.30.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.29.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.28.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.27.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.26.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.25.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.24.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.23.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.22.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.21.1 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.21.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.20.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.19.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.18.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.17.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.16.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.15.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.14.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.13.0 lib/fog/aws/models/efs/file_systems.rb
fog-aws-3.12.0 lib/fog/aws/models/efs/file_systems.rb