Class: Cartography::AcceptanceResult::Check::Address
- Inherits:
-
Object
- Object
- Cartography::AcceptanceResult::Check::Address
- Defined in:
- lib/cartography/acceptance.rb
Instance Attribute Summary collapse
-
#port ⇒ Object
readonly
Returns the value of attribute port.
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Address
constructor
A new instance of Address.
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
#port ⇒ Object (readonly)
Returns the value of attribute port.
36 37 38 |
# File 'lib/cartography/acceptance.rb', line 36 def port @port end |
#record ⇒ Object (readonly)
Returns the value of attribute record.
36 37 38 |
# File 'lib/cartography/acceptance.rb', line 36 def record @record end |