Method: OpenIDConnect::RequestObject::Claimable#as_json
- Defined in:
- lib/openid_connect/request_object/claimable.rb
#as_json(options = {}) ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/openid_connect/request_object/claimable.rb', line 30 def as_json( = {}) keys = claims.try(:keys) hash = super Array(keys).each do |key| hash[:claims][key] ||= nil end hash end |