Class: Nginx::AcmeLocation
- Defined in:
- lib/shared_infrastructure/nginx/location.rb
Instance Attribute Summary collapse
-
#certificate_domain ⇒ Object
readonly
Returns the value of attribute certificate_domain.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(certificate_domain, location = "/.well-known") ⇒ AcmeLocation
constructor
A new instance of AcmeLocation.
- #to_s(level = 0) ⇒ Object
Constructor Details
#initialize(certificate_domain, location = "/.well-known") ⇒ AcmeLocation
Returns a new instance of AcmeLocation.
39 40 41 42 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 39 def initialize(certificate_domain, location = "/.well-known") super(location) @certificate_domain = certificate_domain end |
Instance Attribute Details
#certificate_domain ⇒ Object (readonly)
Returns the value of attribute certificate_domain.
50 51 52 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 50 def certificate_domain @certificate_domain end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
50 51 52 |
# File 'lib/shared_infrastructure/nginx/location.rb', line 50 def location @location end |