Class: Consul::Async::ConsulTemplateDatacenters

Inherits:
ConsulTemplateAbstractArray show all
Defined in:
lib/consul/async/consul_template.rb

Overview

Object returned by datacenters(), basically a JSON Array

Instance Attribute Summary

Attributes inherited from ConsulTemplateAbstract

#endpoint, #result, #seen_at

Instance Method Summary collapse

Methods inherited from ConsulTemplateAbstract

#_seen_at, #method_missing, #ready?, #respond_to_missing?

Constructor Details

#initialize(consul_endpoint) ⇒ ConsulTemplateDatacenters

Returns a new instance of ConsulTemplateDatacenters.



581
582
583
# File 'lib/consul/async/consul_template.rb', line 581

def initialize(consul_endpoint)
  super(consul_endpoint)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Consul::Async::ConsulTemplateAbstract