Class: Consul::Async::ConsulTemplateVaultSecretList
- Inherits:
-
ConsulTemplateAbstractArray
- Object
- ConsulTemplateAbstract
- ConsulTemplateAbstractArray
- Consul::Async::ConsulTemplateVaultSecretList
- Defined in:
- lib/consul/async/consul_template.rb
Overview
Array of available secrets
Instance Attribute Summary
Attributes inherited from ConsulTemplateAbstract
Instance Method Summary collapse
Methods inherited from ConsulTemplateAbstractArray
Methods inherited from ConsulTemplateAbstract
#_seen_at, #initialize, #method_missing, #ready?, #respond_to_missing?
Constructor Details
This class inherits a constructor from Consul::Async::ConsulTemplateAbstractArray
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Consul::Async::ConsulTemplateAbstract
Instance Method Details
#parse_result(res) ⇒ Object
772 773 774 775 776 777 |
# File 'lib/consul/async/consul_template.rb', line 772 def parse_result(res) return res if res.data.nil? res.mutate(JSON.generate(res.json['data']['keys'])) res end |