Class: Puppeteer::HTTPResponse::SecurityDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(security_payload) ⇒ SecurityDetails

Returns a new instance of SecurityDetails.

Parameters:

  • security_payload (Object)


160
161
162
163
164
165
166
# File 'lib/puppeteer/http_response.rb', line 160

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.

Returns:

  • (Object)


168
169
170
# File 'lib/puppeteer/http_response.rb', line 168

def issuer
  @issuer
end

#protocolObject (readonly)

Returns the value of attribute protocol.

Returns:

  • (Object)


168
169
170
# File 'lib/puppeteer/http_response.rb', line 168

def protocol
  @protocol
end

#subject_nameObject (readonly)

Returns the value of attribute subject_name.

Returns:

  • (Object)


168
169
170
# File 'lib/puppeteer/http_response.rb', line 168

def subject_name
  @subject_name
end

#valid_fromObject (readonly)

Returns the value of attribute valid_from.

Returns:

  • (Object)


168
169
170
# File 'lib/puppeteer/http_response.rb', line 168

def valid_from
  @valid_from
end

#valid_toObject (readonly)

Returns the value of attribute valid_to.

Returns:

  • (Object)


168
169
170
# File 'lib/puppeteer/http_response.rb', line 168

def valid_to
  @valid_to
end