Class: Epp::Eis::DomainCheck
- Inherits:
-
Object
- Object
- Epp::Eis::DomainCheck
- Defined in:
- lib/epp-eis/domain.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) ⇒ DomainCheck
constructor
A new instance of DomainCheck.
Constructor Details
#initialize(name, available, reason) ⇒ DomainCheck
Returns a new instance of DomainCheck.
159 160 161 162 163 |
# File 'lib/epp-eis/domain.rb', line 159 def initialize(name, available, reason) @name = name @available = available @reason = reason end |
Instance Attribute Details
#available ⇒ Object
Returns the value of attribute available.
157 158 159 |
# File 'lib/epp-eis/domain.rb', line 157 def available @available end |
#name ⇒ Object
Returns the value of attribute name.
157 158 159 |
# File 'lib/epp-eis/domain.rb', line 157 def name @name end |
#reason ⇒ Object
Returns the value of attribute reason.
157 158 159 |
# File 'lib/epp-eis/domain.rb', line 157 def reason @reason end |
Instance Method Details
#available? ⇒ Boolean
165 166 167 |
# File 'lib/epp-eis/domain.rb', line 165 def available? @available end |