Class: Epp::Eis::DomainCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/epp-eis/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#availableObject

Returns the value of attribute available.



157
158
159
# File 'lib/epp-eis/domain.rb', line 157

def available
  @available
end

#nameObject

Returns the value of attribute name.



157
158
159
# File 'lib/epp-eis/domain.rb', line 157

def name
  @name
end

#reasonObject

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

Returns:

  • (Boolean)


165
166
167
# File 'lib/epp-eis/domain.rb', line 165

def available?
  @available
end