Sha256: 4bf554a0a89b1e60b7ad7e1640338a68f7dc15d87c4595403b5603f0ae7ce48b

Contents?: true

Size: 210 Bytes

Versions: 5

Compression:

Stored size: 210 Bytes

Contents

module JsTestCore
  module Resources
    class FileNotFound < ThinRest::Resource
      property :name
      def get
        connection.send_head(404)
        connection.send_body("")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
js_spec-0.3.2 vendor/js-test-core/lib/js_test_core/resources/file_not_found.rb
js_spec-0.3.3 vendor/js-test-core/lib/js_test_core/resources/file_not_found.rb
js_test_core-0.2.0 lib/js_test_core/resources/file_not_found.rb
screw-unit-0.3.1 vendor/js-test-core/lib/js_test_core/resources/file_not_found.rb
screw-unit-0.3.3 vendor/js-test-core/lib/js_test_core/resources/file_not_found.rb