class Fog::AWS::Glacier::Vaults

Public Instance Methods

all() click to toggle source
# File lib/fog/aws/models/glacier/vaults.rb, line 12
def all
  data = connection.list_vaults.body['VaultList']
  load(data)
end
get(key) click to toggle source
# File lib/fog/aws/models/glacier/vaults.rb, line 17
def get(key)
  data = connection.describe_vault(key).body
  new(data)
rescue Excon::Errors::NotFound
  nil
end