Sha256: d2ddb459fde13e8fb130e61c7b209ab8e721b7b7f724d27ab257c7e5fe1d6494

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

module Telesignature
  module MockService
    class Railtie < ::Rails::Railtie
      initializer 'telesignature_railtie.configure_rails_initialization' do
        if ENV['TELESIGN_STUBBED']
          Process.detach(Process.fork do
            require 'telesignature/mock_service/fake_server'
          end)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telesignature-0.0.5 lib/telesignature/mock_service/railtie.rb