Class: Epp::Eis::NssetDeleteResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ NssetDeleteResponse



68
69
70
# File 'lib/epp-eis/nsset.rb', line 68

def initialize(response)
  @response = Nokogiri::XML(response)
end

Instance Method Details

#codeObject



72
73
74
# File 'lib/epp-eis/nsset.rb', line 72

def code
  @response.css('epp response result').first['code'].to_i
end

#messageObject



76
77
78
# File 'lib/epp-eis/nsset.rb', line 76

def message
  @response.css('epp response result msg').text
end