Sha256: 9473446dccd0dcd701ade89801db5d59bf2b7c8d7fbd65e6f436673bfce8ad2d

Contents?: true

Size: 277 Bytes

Versions: 14

Compression:

Stored size: 277 Bytes

Contents

require 'childprocess'

module RestAssured
  class AppSession
    def initialize
      @child = ChildProcess.build('rest-assured', *Config.to_cmdargs)
      @child.io.inherit!
      @child.start
    end

    def method_missing(*args)
      @child.send(*args)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rest-assured-2.0.0 lib/rest-assured/api/app_session.rb
rest-assured-1.2.2 lib/rest-assured/api/app_session.rb
rest-assured-1.2.1 lib/rest-assured/api/app_session.rb
rest-assured-1.2.0 lib/rest-assured/api/app_session.rb
rest-assured-1.1.10 lib/rest-assured/api/app_session.rb
rest-assured-1.1.9 lib/rest-assured/api/app_session.rb
rest-assured-1.1.8 lib/rest-assured/api/app_session.rb
rest-assured-1.1.7 lib/rest-assured/api/app_session.rb
rest-assured-1.1.6 lib/rest-assured/api/app_session.rb
rest-assured-1.1.5 lib/rest-assured/api/app_session.rb
rest-assured-1.1.4 lib/rest-assured/api/app_session.rb
rest-assured-1.1.3 lib/rest-assured/api/app_session.rb
rest-assured-1.1.2 lib/rest-assured/api/app_session.rb
rest-assured-1.1.1 lib/rest-assured/api/app_session.rb