lib/clavem/authorizer.rb in clavem-1.0.0 vs lib/clavem/authorizer.rb in clavem-1.0.1
- old
+ new
@@ -83,17 +83,19 @@
@command = command.ensure_string
@title = title.ensure_string
@template = template.ensure_string
@timeout = timeout.to_integer
@response_handler = response_handler
+
+ sanitize_arguments
+
@token = nil
@status = :waiting
@compiled_template ||= ::ERB.new(@template)
@i18n = t
@timeout_expired = false
@timeout_thread = nil
- sanitize_arguments
self
end
# Starts the authorization flow.
#
\ No newline at end of file