Class: EPP::Contact::TransferResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/epp-client/contact/transfer_response.rb

Instance Method Summary collapse

Methods inherited from Response

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

Methods included from ResponseHelper

#nodes_for_xpath, #value_for_xpath, #values_for_xpath

Constructor Details

This class inherits a constructor from EPP::Contact::Response

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class EPP::Contact::Response

Instance Method Details

#action_dateObject



21
22
23
# File 'lib/epp-client/contact/transfer_response.rb', line 21

def action_date
  @acDate ||= value_for_xpath('//contact:acDate') && Time.parse(value_for_xpath('//contact:acDate'))
end

#action_idObject



18
19
20
# File 'lib/epp-client/contact/transfer_response.rb', line 18

def action_id
  @acID ||= value_for_xpath('//contact:acID')
end

#idObject



6
7
8
# File 'lib/epp-client/contact/transfer_response.rb', line 6

def id
  @id ||= value_for_xpath('//contact:id')
end

#requested_dateObject



15
16
17
# File 'lib/epp-client/contact/transfer_response.rb', line 15

def requested_date
  @reDate ||= value_for_xpath('//contact:reDate') && Time.parse(value_for_xpath('//contact:reDate'))
end

#requested_idObject



12
13
14
# File 'lib/epp-client/contact/transfer_response.rb', line 12

def requested_id
  @reID ||= value_for_xpath('//contact:reID')
end

#statusObject



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

def status
  @trStatus ||= value_for_xpath('//contact:trStatus')
end