A library for handling DID identifiers used in Bluesky AT Protocol

added pds_host/labeler_host helpers that return just hostname

+8
+8
lib/didkit/services.rb
··· 11 11 def labeler_endpoint 12 12 @labeler_endpoint ||= get_service('atproto_labeler', 'AtprotoLabeler')&.endpoint 13 13 end 14 + 15 + def pds_host 16 + pds_endpoint&.then { |x| URI(x).host } 17 + end 18 + 19 + def labeler_host 20 + labeler_endpoint&.then { |x| URI(x).host } 21 + end 14 22 end 15 23 end