Class: Puppeteer::Response::SecurityDetails
- Inherits:
-
Object
- Object
- Puppeteer::Response::SecurityDetails
- Defined in:
- lib/puppeteer/response.rb
Instance Attribute Summary collapse
-
#issuer ⇒ Object
readonly
Returns the value of attribute issuer.
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
-
#subject_name ⇒ Object
readonly
Returns the value of attribute subject_name.
-
#valid_from ⇒ Object
readonly
Returns the value of attribute valid_from.
-
#valid_to ⇒ Object
readonly
Returns the value of attribute valid_to.
Instance Method Summary collapse
-
#initialize(security_payload) ⇒ SecurityDetails
constructor
A new instance of SecurityDetails.
Constructor Details
#initialize(security_payload) ⇒ SecurityDetails
Returns a new instance of SecurityDetails.
103 104 105 106 107 108 109 |
# File 'lib/puppeteer/response.rb', line 103 def initialize(security_payload) @subject_name = security_payload['subjectName'] @issuer = security_payload['issuer'] @valid_from = security_payload['validFrom'] @valid_to = security_payload['validTo'] @protocol = security_payload['protocol'] end |
Instance Attribute Details
#issuer ⇒ Object (readonly)
Returns the value of attribute issuer.
111 112 113 |
# File 'lib/puppeteer/response.rb', line 111 def issuer @issuer end |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
111 112 113 |
# File 'lib/puppeteer/response.rb', line 111 def protocol @protocol end |
#subject_name ⇒ Object (readonly)
Returns the value of attribute subject_name.
111 112 113 |
# File 'lib/puppeteer/response.rb', line 111 def subject_name @subject_name end |
#valid_from ⇒ Object (readonly)
Returns the value of attribute valid_from.
111 112 113 |
# File 'lib/puppeteer/response.rb', line 111 def valid_from @valid_from end |
#valid_to ⇒ Object (readonly)
Returns the value of attribute valid_to.
111 112 113 |
# File 'lib/puppeteer/response.rb', line 111 def valid_to @valid_to end |