Class: Cartography::AcceptanceResult::Check::DNS

Inherits:
Object
  • Object
show all
Defined in:
lib/cartography/acceptance.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#recordObject (readonly)

Returns the value of attribute record.



46
47
48
# File 'lib/cartography/acceptance.rb', line 46

def record
  @record
end

#typeObject (readonly)

Returns the value of attribute type.



46
47
48
# File 'lib/cartography/acceptance.rb', line 46

def type
  @type
end