Sha256: f5ef239e2f3934c4c469e9b5e1a92be90cf85ff0d0787d6b3a8b1a200f2ec7e8
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
module Doorkeeper module OpenidConnect module Models module Claims class NormalClaim < Claim attr_reader :value def initialize(options = {}) super(options) @value = options[:value] end def type :normal end def method_missing(method_sym, *arguments, &block) @value end def response_to?(method_sym, *arguments, &block) method_sym.to_s == @name end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-openid_connect-1.0.1 | lib/doorkeeper/openid_connect/models/claims/normal_claim.rb |
doorkeeper-openid_connect-1.0.0 | lib/doorkeeper/openid_connect/models/claims/normal_claim.rb |