Class: Minke::Config::URL
- Inherits:
-
Object
- Object
- Minke::Config::URL
- Defined in:
- lib/minke/config/url.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
8 9 10 |
# File 'lib/minke/config/url.rb', line 8 def address @address end |
#path ⇒ Object
path for the server default /
24 25 26 |
# File 'lib/minke/config/url.rb', line 24 def path @path end |
#port ⇒ Object
port which the server is running on default 80
13 14 15 |
# File 'lib/minke/config/url.rb', line 13 def port @port end |
#protocol ⇒ Object
protocol for the server
-
http [default]
-
https
19 20 21 |
# File 'lib/minke/config/url.rb', line 19 def protocol @protocol end |
#type ⇒ Object
type of the URL
-
public
-
private used for linked containers
30 31 32 |
# File 'lib/minke/config/url.rb', line 30 def type @type end |