Sha256: 71bc1c1b79676f10e79c2a22466332a7088e48299c3bffe863329584d62d4c50
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
module SmartId::Api class Response attr_reader :session_id def initialize(response_body, authentication_hash) @body = response_body @session_id = response_body["sessionID"] @authentication_hash = authentication_hash end def verification_code @verification_code ||= SmartId::VerificationCodeCalculator.calculate(@authentication_hash.calculate_digest) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smart_id-0.1.0 | lib/smart_id/api/response.rb |