Sha256: b5d9525f76093c87b7c1174ac4e84bf96fdee4aad0eb45d6a86ec930e15c034c

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

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

      def title_text
        message
      end

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

Version data entries

2 entries across 2 versions & 1 rubygems

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