Sha256: 3b4389e3cd0dc253373c1bd1480ae9592a0c795810f4890c075197c24683b0f9

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

require 'singleton'

module RestAssured
  class AppRunner
    include Singleton

    def run!
      unless Kernel.require 'rest-assured/application'
        RestAssured::Application.send(:include, Config)
      end
      RestAssured::Application.run!
    end

    def self.method_missing(*args)
      instance.send(*args)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rest-assured-1.1.0 lib/rest-assured/api/app_runner.rb
rest-assured-1.0.0 lib/rest-assured/api/app_runner.rb
rest-assured-1.0.0.rc2 lib/rest-assured/api/app_runner.rb
rest-assured-1.0.0.rc1 lib/rest-assured/api/app_runner.rb