1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
|
# File 'lib/nicinfo/nicinfo_main.rb', line 1036
def cache_self_references json_data
links = NicInfo::get_links json_data, @config
if links
self_link = NicInfo.get_self_link links
if self_link
pretty = JSON::pretty_generate( json_data )
@cache.create( self_link, pretty )
end
end
entities = NicInfo::get_entitites json_data
entities.each do |entity|
cache_self_references( entity )
end if entities
nameservers = NicInfo::get_nameservers json_data
nameservers.each do |ns|
cache_self_references( ns )
end if nameservers
ds_data_objs = NicInfo::get_ds_data_objs json_data
ds_data_objs.each do |ds|
cache_self_references( ds )
end if ds_data_objs
key_data_objs = NicInfo::get_key_data_objs json_data
key_data_objs.each do |key|
cache_self_references( key )
end if key_data_objs
end
|