Class: EPP::Domain::TransferResponse
- Inherits:
-
Response
- Object
- Response
- EPP::Domain::TransferResponse
show all
- Defined in:
- lib/epp-client/domain/transfer_response.rb
Instance Method Summary
collapse
Methods inherited from Response
#initialize, #method, #method_missing, #respond_to?, #respond_to_missing?
#nodes_for_xpath, #value_for_xpath, #values_for_xpath
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class EPP::Domain::Response
Instance Method Details
#action_date ⇒ Object
24
25
26
|
# File 'lib/epp-client/domain/transfer_response.rb', line 24
def action_date
@acDate ||= value_for_xpath('//domain:acDate') && Time.parse(value_for_xpath('//domain:acDate'))
end
|
#action_id ⇒ Object
21
22
23
|
# File 'lib/epp-client/domain/transfer_response.rb', line 21
def action_id
@acID ||= value_for_xpath('//domain:acID')
end
|
#expiration_date ⇒ Object
18
19
20
|
# File 'lib/epp-client/domain/transfer_response.rb', line 18
def expiration_date
@exDate ||= value_for_xpath('//domain:exDate') && Time.parse(value_for_xpath('//domain:exDate'))
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/epp-client/domain/transfer_response.rb', line 6
def name
@name ||= value_for_xpath('//domain:name')
end
|
#requested_date ⇒ Object
15
16
17
|
# File 'lib/epp-client/domain/transfer_response.rb', line 15
def requested_date
@reDate ||= value_for_xpath('//domain:reDate') && Time.parse(value_for_xpath('//domain:reDate'))
end
|
#requested_id ⇒ Object
12
13
14
|
# File 'lib/epp-client/domain/transfer_response.rb', line 12
def requested_id
@reID ||= value_for_xpath('//domain:reID')
end
|
#status ⇒ Object
9
10
11
|
# File 'lib/epp-client/domain/transfer_response.rb', line 9
def status
@trStatus ||= value_for_xpath('//domain:trStatus')
end
|