Sha256: 2e2681e7e6ddc1a358fdd67e8129e719fd7457082c6f2e88ba3fe131f403895c

Contents?: true

Size: 365 Bytes

Versions: 39

Compression:

Stored size: 365 Bytes

Contents

module Futurism
  module Resolver
    class Controller
      def self.from(signed_string:)
        if signed_string.present?
          Futurism::MessageVerifier
            .message_verifier
            .verify(signed_string)
            .to_s
            .safe_constantize
        else
          Futurism.default_controller
        end
      end
    end
  end
end

Version data entries

39 entries across 24 versions & 1 rubygems

Version Path
futurism-1.4.2 lib/futurism/resolver/controller.rb
futurism-1.4.1 lib/futurism/resolver/controller.rb
futurism-1.4.0 lib/futurism/resolver/controller.rb
futurism-1.3.0 lib/futurism/resolver/controller.rb
futurism-1.2.0 lib/futurism/resolver/controller.rb
futurism-1.2.0.rc2 lib/futurism/resolver/controller.rb
futurism-1.2.0.rc1 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre11 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre10 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre9 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre9 lib/futurism/resolver/controller.rb~
futurism-1.2.0.pre8 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre8 lib/futurism/resolver/controller.rb~
futurism-1.2.0.pre7 lib/futurism/resolver/controller.rb~
futurism-1.2.0.pre7 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre6 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre6 lib/futurism/resolver/controller.rb~
futurism-1.2.0.pre5 lib/futurism/resolver/controller.rb~
futurism-1.2.0.pre5 lib/futurism/resolver/controller.rb
futurism-1.2.0.pre4 lib/futurism/resolver/controller.rb