Class: NominetEPP::Contact::UpdateResponse

Inherits:
BasicResponse show all
Defined in:
lib/nominet-epp/responses/contact/update_response.rb

Instance Method Summary collapse

Methods inherited from BasicResponse

#method, #method_missing, #respond_to?, #respond_to_missing?

Constructor Details

#initialize(response) ⇒ UpdateResponse

Returns a new instance of UpdateResponse.

Raises:

  • (ArgumentError)


4
5
6
7
# File 'lib/nominet-epp/responses/contact/update_response.rb', line 4

def initialize(response)
  raise ArgumentError, "must be an EPP::Response" unless response.kind_of?(EPP::Response)
  super EPP::Contact::UpdateResponse.new(response)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class NominetEPP::BasicResponse