Sha256: e4e3b82a2d19a253f5484bfb9bc7fd5777584226c894bdcf0ba948afa535fc4c
Contents?: true
Size: 321 Bytes
Versions: 9
Compression:
Stored size: 321 Bytes
Contents
module JSON class JWK::Set < Array def initialize(*jwks) replace Array(jwks).flatten end def content_type 'application/jwk-set+json' end def as_json(options = {}) # NOTE: Array.new wrapper is requied to avoid CircularReferenceError {keys: Array.new(self)} end end end
Version data entries
9 entries across 9 versions & 1 rubygems