Class: Cartography::AcceptanceResult::Check::Address

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Address

Returns a new instance of Address.



39
40
41
42
# File 'lib/cartography/acceptance.rb', line 39

def initialize(params = {})
  @port = params["Port"].to_i
  @record = params["Record"]
end

Instance Attribute Details

#portObject (readonly)

Returns the value of attribute port.



36
37
38
# File 'lib/cartography/acceptance.rb', line 36

def port
  @port
end

#recordObject (readonly)

Returns the value of attribute record.



36
37
38
# File 'lib/cartography/acceptance.rb', line 36

def record
  @record
end