Class: Epp::Eis::NssetDeleteResponse
- Inherits:
-
Object
- Object
- Epp::Eis::NssetDeleteResponse
- Defined in:
- lib/epp-eis/nsset.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(response) ⇒ NssetDeleteResponse
constructor
A new instance of NssetDeleteResponse.
- #message ⇒ Object
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
#code ⇒ Object
72 73 74 |
# File 'lib/epp-eis/nsset.rb', line 72 def code @response.css('epp response result').first['code'].to_i end |
#message ⇒ Object
76 77 78 |
# File 'lib/epp-eis/nsset.rb', line 76 def @response.css('epp response result msg').text end |