Sha256: cb63cb0c325bc00cd46a14bccb2da1d64261239dbcd2100a88a60a5cd3396714

Contents?: true

Size: 347 Bytes

Versions: 16

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module Trusona
  module Workers
    #
    ## Creates user identifers
    class UserIdentifierCreator
      def initialize(service: nil)
        @service = service || Trusona::Services::UserIdentifiersService.new
      end

      def create(identifier)
        @service.create(identifier)
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trusona-2.5.3 lib/trusona/workers/user_identifier_creator.rb
trusona-2.5.2 lib/trusona/workers/user_identifier_creator.rb
trusona-2.5.1 lib/trusona/workers/user_identifier_creator.rb
trusona-2.5.0 lib/trusona/workers/user_identifier_creator.rb
trusona-2.4.0 lib/trusona/workers/user_identifier_creator.rb
trusona-2.3.0 lib/trusona/workers/user_identifier_creator.rb
trusona-2.2.0 lib/trusona/workers/user_identifier_creator.rb
trusona-2.1.0 lib/trusona/workers/user_identifier_creator.rb
trusona-2.0.0 lib/trusona/workers/user_identifier_creator.rb
trusona-1.0.1 lib/trusona/workers/user_identifier_creator.rb
trusona-1.0.0 lib/trusona/workers/user_identifier_creator.rb
trusona-0.20.0 lib/trusona/workers/user_identifier_creator.rb
trusona-0.19.0 lib/trusona/workers/user_identifier_creator.rb
trusona-0.18.2 lib/trusona/workers/user_identifier_creator.rb
trusona-0.18.1 lib/trusona/workers/user_identifier_creator.rb
trusona-0.16.0 lib/trusona/workers/user_identifier_creator.rb