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
301 302 303 |
# File 'lib/minke/config/config.rb', line 301 def address @address end |
#path ⇒ Object
path for the server default /
317 318 319 |
# File 'lib/minke/config/config.rb', line 317 def path @path end |
#port ⇒ Object
port which the server is running on default 80
306 307 308 |
# File 'lib/minke/config/config.rb', line 306 def port @port end |
#protocol ⇒ Object
protocol for the server
-
http [default]
-
https
312 313 314 |
# File 'lib/minke/config/config.rb', line 312 def protocol @protocol end |
#type ⇒ Object
type of the URL
-
public
-
private used for linked containers
323 324 325 |
# File 'lib/minke/config/config.rb', line 323 def type @type end |