Class: Kumonos::Envoy::Admin

Inherits:
Struct
  • Object
show all
Defined in:
lib/kumonos/envoy.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_log_pathObject

Returns the value of attribute access_log_path

Returns:

  • (Object)

    the current value of access_log_path



107
108
109
# File 'lib/kumonos/envoy.rb', line 107

def access_log_path
  @access_log_path
end

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



107
108
109
# File 'lib/kumonos/envoy.rb', line 107

def address
  @address
end

Class Method Details

.build(h) ⇒ Object



109
110
111
# File 'lib/kumonos/envoy.rb', line 109

def build(h)
  new(h.fetch('address'), h.fetch('access_log_path'))
end