Class: Cartography::AcceptanceResult::Check::DNS
- Inherits:
-
Object
- Object
- Cartography::AcceptanceResult::Check::DNS
- Defined in:
- lib/cartography/acceptance.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ DNS
constructor
A new instance of DNS.
Constructor Details
#initialize(params = {}) ⇒ DNS
Returns a new instance of DNS.
49 50 51 52 |
# File 'lib/cartography/acceptance.rb', line 49 def initialize(params = {}) @record = params["Record"] @type = params["Type"] end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
46 47 48 |
# File 'lib/cartography/acceptance.rb', line 46 def record @record end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
46 47 48 |
# File 'lib/cartography/acceptance.rb', line 46 def type @type end |