Class: OpenIDConnect::Discovery::Provider::Config::Response

Inherits:
SWD::Resource
  • Object
show all
Includes:
AttrOptional
Defined in:
lib/openid_connect/discovery/provider/config/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rawObject (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