Class: Epp::Eis::ContactCheck

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#availableObject

Returns the value of attribute available.



9
10
11
# File 'lib/epp-eis/contact.rb', line 9

def available
  @available
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/epp-eis/contact.rb', line 9

def name
  @name
end

#reasonObject

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

Returns:

  • (Boolean)


17
18
19
# File 'lib/epp-eis/contact.rb', line 17

def available?
  @available
end