class Fog::AWS::EFS::MountTargets
Public Instance Methods
all()
click to toggle source
# File lib/fog/aws/models/efs/mount_targets.rb, line 11 def all data = service.describe_mount_targets(:file_system_id => self.file_system_id).body["MountTargets"] load(data) end
get(identity)
click to toggle source
# File lib/fog/aws/models/efs/mount_targets.rb, line 16 def get(identity) data = service.describe_mount_targets(:id => identity).body["MountTargets"].first new(data) rescue Fog::AWS::EFS::NotFound nil end