Class: Puppeteer::Response::SecurityDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#issuerObject (readonly)

Returns the value of attribute issuer.



111
112
113
# File 'lib/puppeteer/response.rb', line 111

def issuer
  @issuer
end

#protocolObject (readonly)

Returns the value of attribute protocol.



111
112
113
# File 'lib/puppeteer/response.rb', line 111

def protocol
  @protocol
end

#subject_nameObject (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_fromObject (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_toObject (readonly)

Returns the value of attribute valid_to.



111
112
113
# File 'lib/puppeteer/response.rb', line 111

def valid_to
  @valid_to
end