Class: Nginx::AccelLocation
- Defined in:
- lib/shared_infrastructure/nginx/location.rb
Instance Attribute Summary collapse
-
#accel ⇒ Object
readonly
Returns the value of attribute accel.
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#domain_name ⇒ Object
readonly
Returns the value of attribute domain_name.
Instance Method Summary collapse
-
#initialize(domain_name, accel, domain: nil) ⇒ AccelLocation
constructor
A new instance of AccelLocation.
- #to_s(level = 0) ⇒ Object
Constructor Details
#initialize(domain_name, accel, domain: nil) ⇒ AccelLocation
Returns a new instance of AccelLocation.
21 22 23 24 25 26 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 21 def initialize(domain_name, accel, domain: nil) super(location) @domain = domain @domain_name = domain_name @accel = accel end |
Instance Attribute Details
#accel ⇒ Object (readonly)
Returns the value of attribute accel.
35 36 37 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 35 def accel @accel end |
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
35 36 37 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 35 def domain @domain end |
#domain_name ⇒ Object (readonly)
Returns the value of attribute domain_name.
35 36 37 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 35 def domain_name @domain_name end |