Class: OAuth2::Provider::Assertion
- Inherits:
-
Object
- Object
- OAuth2::Provider::Assertion
- Defined in:
- lib/oauth2/provider/exchange.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(params) ⇒ Assertion
constructor
A new instance of Assertion.
Constructor Details
#initialize(params) ⇒ Assertion
Returns a new instance of Assertion.
204 205 206 207 |
# File 'lib/oauth2/provider/exchange.rb', line 204 def initialize(params) @type = params[ASSERTION_TYPE] @value = params[ASSERTION] end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
203 204 205 |
# File 'lib/oauth2/provider/exchange.rb', line 203 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
203 204 205 |
# File 'lib/oauth2/provider/exchange.rb', line 203 def value @value end |