Class: Cartography::CustomCname::Fallback
- Inherits:
-
Object
- Object
- Cartography::CustomCname::Fallback
- Defined in:
- lib/cartography/custom_cname.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Fallback
constructor
A new instance of Fallback.
Constructor Details
#initialize(params = {}) ⇒ Fallback
Returns a new instance of Fallback.
40 41 42 43 |
# File 'lib/cartography/custom_cname.rb', line 40 def initialize(params = {}) @endpoint = params["Endpoint"] @target = params["Target"] end |
Instance Attribute Details
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
38 39 40 |
# File 'lib/cartography/custom_cname.rb', line 38 def endpoint @endpoint end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
38 39 40 |
# File 'lib/cartography/custom_cname.rb', line 38 def target @target end |