Class: Epp::Eis::ContactCheck
- Inherits:
-
Object
- Object
- Epp::Eis::ContactCheck
- Defined in:
- lib/epp-eis/contact.rb
Instance Attribute Summary collapse
-
#available ⇒ Object
Returns the value of attribute available.
-
#name ⇒ Object
Returns the value of attribute name.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
- #available? ⇒ Boolean
-
#initialize(name, available, reason) ⇒ ContactCheck
constructor
A new instance of ContactCheck.
Constructor Details
#initialize(name, available, reason) ⇒ ContactCheck
Returns a new instance of ContactCheck.
11 12 13 14 15 |
# File 'lib/epp-eis/contact.rb', line 11 def initialize(name, available, reason) @name = name @available = available @reason = reason end |
Instance Attribute Details
#available ⇒ Object
Returns the value of attribute available.
9 10 11 |
# File 'lib/epp-eis/contact.rb', line 9 def available @available end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/epp-eis/contact.rb', line 9 def name @name end |
#reason ⇒ Object
Returns the value of attribute reason.
9 10 11 |
# File 'lib/epp-eis/contact.rb', line 9 def reason @reason end |
Instance Method Details
#available? ⇒ Boolean
17 18 19 |
# File 'lib/epp-eis/contact.rb', line 17 def available? @available end |