Class: Minke::Config::URL
- Inherits:
-
Object
- Object
- Minke::Config::URL
- Defined in:
- lib/minke/config/config.rb
Overview
URL represents a url object which is used for health_check and consul_loader locations
Instance Attribute Summary collapse
-
#address ⇒ Object
address of the server i.e 127.0.0.1 or the docker name consul.
-
#path ⇒ Object
path for the server default /.
-
#port ⇒ Object
port which the server is running on default 80.
-
#protocol ⇒ Object
protocol for the server - http [default] - https.
-
#type ⇒ Object
type of the URL - public - private used for linked containers.
Instance Attribute Details
#address ⇒ Object
address of the server i.e 127.0.0.1 or the docker name consul
307 308 309 |
# File 'lib/minke/config/config.rb', line 307 def address @address end |
#path ⇒ Object
path for the server default /
323 324 325 |
# File 'lib/minke/config/config.rb', line 323 def path @path end |
#port ⇒ Object
port which the server is running on default 80
312 313 314 |
# File 'lib/minke/config/config.rb', line 312 def port @port end |
#protocol ⇒ Object
protocol for the server
-
http [default]
-
https
318 319 320 |
# File 'lib/minke/config/config.rb', line 318 def protocol @protocol end |
#type ⇒ Object
type of the URL
-
public
-
private used for linked containers
329 330 331 |
# File 'lib/minke/config/config.rb', line 329 def type @type end |