Sha256: 20e43879ccec5ae3866819e78f2e8782fb3330ee2d5aa563b24d7f2fc7ca0862
Contents?: true
Size: 258 Bytes
Versions: 5
Compression:
Stored size: 258 Bytes
Contents
module JSON class JWK::Set < Array def initialize(*jwks) replace Array(jwks).flatten end def as_json(options = {}) # NOTE: Array.new wrapper is requied to avoid CircularReferenceError {keys: Array.new(self)} end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
json-jwt-0.4.0 | lib/json/jwk/set.rb |
json-jwt-0.3.3 | lib/json/jwk/set.rb |
json-jwt-0.3.2 | lib/json/jwk/set.rb |
json-jwt-0.3.1 | lib/json/jwk/set.rb |
json-jwt-0.3.0 | lib/json/jwk/set.rb |