Class: Puppeteer::HTTPResponse::SecurityDetails

Inherits:
Object
  • Object
show all
Defined in:
lib/puppeteer/http_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(security_payload) ⇒ SecurityDetails

Returns a new instance of SecurityDetails.



124
125
126
127
128
129
130
# File 'lib/puppeteer/http_response.rb', line 124

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

#issuerObject (readonly)

Returns the value of attribute issuer.



132
133
134
# File 'lib/puppeteer/http_response.rb', line 132

def issuer
  @issuer
end

#protocolObject (readonly)

Returns the value of attribute protocol.



132
133
134
# File 'lib/puppeteer/http_response.rb', line 132

def protocol
  @protocol
end

#subject_nameObject (readonly)

Returns the value of attribute subject_name.



132
133
134
# File 'lib/puppeteer/http_response.rb', line 132

def subject_name
  @subject_name
end

#valid_fromObject (readonly)

Returns the value of attribute valid_from.



132
133
134
# File 'lib/puppeteer/http_response.rb', line 132

def valid_from
  @valid_from
end

#valid_toObject (readonly)

Returns the value of attribute valid_to.



132
133
134
# File 'lib/puppeteer/http_response.rb', line 132

def valid_to
  @valid_to
end