class RestPki::SignatureFinisher
Attributes
signature[RW]
token[RW]
Public Class Methods
new(restpki_client)
click to toggle source
# File lib/rest_pki/signature_finisher.rb, line 6 def initialize(restpki_client) @restpki_client = restpki_client @token = nil @signature = nil @callback_argument = nil @certificate_info = nil @done = false end
Public Instance Methods
certificate_info()
click to toggle source
# File lib/rest_pki/signature_finisher.rb, line 26 def certificate_info unless @done raise 'The field "certificate_info" can only be accessed after calling the finish method' end @certificate_info end
finish()
click to toggle source
# File lib/rest_pki/signature_finisher.rb, line 15 def finish raise "#{self.class.name}#finish is an abstract method." end
get_callback_argument()
click to toggle source
# File lib/rest_pki/signature_finisher.rb, line 19 def get_callback_argument unless @done raise 'The field "callback_argument" can only be accessed after calling the finish method' end @callback_argument end