Sha256: 6c217b3847f37d8e78ff1fb0a082c8e40ba2723a4d4ef163623f4171bd1f4e69

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

module ThinRest
  module Representations
    class ResourceNotFound < Page
      needs :path_info
      protected
      def body_content
        h1 message
      end

      def title_text
        message
      end

      def message
        "File #{path_info} not found"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pivotal-screw-unit-0.4.2 vendor/js-test-core/vendor/thin-rest/lib/thin_rest/representations/resource_not_found.html.rb
pivotal-screw-unit-0.4.3 vendor/js-test-core/vendor/thin-rest/lib/thin_rest/representations/resource_not_found.html.rb