Method: Fog::AWS::Glacier::Vaults#get
- Defined in:
- lib/fog/aws/models/glacier/vaults.rb
#get(key) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/fog/aws/models/glacier/vaults.rb', line 17 def get(key) data = service.describe_vault(key).body new(data) rescue Excon::Errors::NotFound nil end |