Class: Kumonos::Envoy::Admin
- Inherits:
-
Struct
- Object
- Struct
- Kumonos::Envoy::Admin
- Defined in:
- lib/kumonos/envoy.rb
Instance Attribute Summary collapse
-
#access_log_path ⇒ Object
Returns the value of attribute access_log_path.
-
#address ⇒ Object
Returns the value of attribute address.
Class Method Summary collapse
Instance Attribute Details
#access_log_path ⇒ Object
Returns the value of attribute access_log_path
221 222 223 |
# File 'lib/kumonos/envoy.rb', line 221 def access_log_path @access_log_path end |
#address ⇒ Object
Returns the value of attribute address
221 222 223 |
# File 'lib/kumonos/envoy.rb', line 221 def address @address end |
Class Method Details
.build(h) ⇒ Object
223 224 225 226 |
# File 'lib/kumonos/envoy.rb', line 223 def build(h) address = AddressParser.call(h.fetch('address')) new(address, h.fetch('access_log_path')) end |