Class: Nginx::Upstream
- Inherits:
-
Object
- Object
- Nginx::Upstream
- Defined in:
- lib/shared_infrastructure/nginx/upstream.rb
Instance Attribute Summary collapse
-
#domain_name ⇒ Object
readonly
Returns the value of attribute domain_name.
Instance Method Summary collapse
-
#initialize(domain_name) ⇒ Upstream
constructor
A new instance of Upstream.
- #to_s(level = 0) ⇒ Object
Constructor Details
#initialize(domain_name) ⇒ Upstream
Returns a new instance of Upstream.
5 6 7 |
# File 'lib/shared_infrastructure/nginx/upstream.rb', line 5 def initialize(domain_name) @domain_name = domain_name end |
Instance Attribute Details
#domain_name ⇒ Object (readonly)
Returns the value of attribute domain_name.
17 18 19 |
# File 'lib/shared_infrastructure/nginx/upstream.rb', line 17 def domain_name @domain_name end |