tangled
alpha
login
or
join now
mackuba.eu
/
didkit
1
fork
atom
A library for handling DID identifiers used in Bluesky AT Protocol
1
fork
atom
overview
issues
pulls
pipelines
marked some helper methods as private
mackuba.eu
2 months ago
71ce4ea9
60b87d9a
+6
2 changed files
expand all
collapse all
unified
split
lib
didkit
at_handles.rb
requests.rb
+3
lib/didkit/at_handles.rb
···
2
2
3
3
module DIDKit
4
4
module AtHandles
5
5
+
6
6
+
private
7
7
+
5
8
def parse_also_known_as(aka)
6
9
raise FormatError, "Invalid alsoKnownAs: #{aka.inspect}" unless aka.is_a?(Array)
7
10
raise FormatError, "Invalid alsoKnownAs: #{aka.inspect}" unless aka.all? { |x| x.is_a?(String) }
+3
lib/didkit/requests.rb
···
6
6
7
7
module DIDKit
8
8
module Requests
9
9
+
10
10
+
private
11
11
+
9
12
def get_response(url, options = {})
10
13
url = URI(url) unless url.is_a?(URI)
11
14