lib/trusona.rb in trusona-2.4.0 vs lib/trusona.rb in trusona-2.5.0

- old
+ new

@@ -30,10 +30,11 @@ require 'trusona/workers/user_identifier_creator' require 'trusona/workers/device_user_binding_creator' require 'trusona/workers/device_user_binding_activator' require 'trusona/workers/trusonafication_creator' require 'trusona/workers/trusonafication_finder' +require 'trusona/workers/trusonafication_canceler' require 'trusona/workers/identity_document_finder' require 'trusona/workers/device_finder' require 'trusona/workers/user_deactivator' require 'trusona/workers/paired_tru_code_finder' @@ -116,10 +117,11 @@ @config = Configuration.new yield(@config) end raise Trusona::ConfigurationError unless @config + @config end ## # Represents Trusona configuration @@ -134,10 +136,10 @@ # (e.g. +https://api.trusona.net+) class Configuration attr_accessor :token, :secret attr_reader :api_host - def initialize() + def initialize @api_host = 'api.trusona.net' end ## # sets the API host by first ensuring the proper format