Class: OpenIDConnect::Discovery::Provider::Config::Response
- Inherits:
-
SWD::Resource
- Object
- SWD::Resource
- OpenIDConnect::Discovery::Provider::Config::Response
- Includes:
- AttrOptional
- Defined in:
- lib/openid_connect/discovery/provider/config/response.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(hash) ⇒ Response
Returns a new instance of Response.
13 14 15 16 17 18 |
# File 'lib/openid_connect/discovery/provider/config/response.rb', line 13 def initialize(hash) optional_attributes.each do |key| self.send "#{key}=", hash[key] end @raw = hash end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
8 9 10 |
# File 'lib/openid_connect/discovery/provider/config/response.rb', line 8 def raw @raw end |