Sha256: 05563605eec392bb8d9e4dad0205093cd835a0623e3860a56f352b6d6b072bbc

Contents?: true

Size: 248 Bytes

Versions: 10

Compression:

Stored size: 248 Bytes

Contents

module Rakuna
  module Content
    # Mixin to handle payload validation.
    module Validation
      def malformed_request?
        if request.post?
          false unless valid?
        else
          false
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rakuna-0.7.5 lib/rakuna/content/validation.rb
rakuna-0.7.4 lib/rakuna/content/validation.rb
rakuna-0.7.3 lib/rakuna/content/validation.rb
rakuna-0.7.2 lib/rakuna/content/validation.rb
rakuna-0.7.1 lib/rakuna/content/validation.rb
rakuna-0.7.0 lib/rakuna/content/validation.rb
rakuna-0.6.0 lib/rakuna/content/validation.rb
rakuna-0.5.0 lib/rakuna/content/validation.rb
rakuna-0.4.0 lib/rakuna/content/validation.rb
rakuna-0.3.0 lib/rakuna/content/validation.rb