Sha256: 283ff87c30f311e54767cbb99247e30eee487a5de7ee3d47db88e8ed34912d11

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

module Waves

  module Matchers

    class Accept < Base
      
      def initialize( options )
        @constraints = {
          :accept => options[ :accept ],
          :lang => options[ :lang ],
          :charset => options[ :charset ]
        }
      end
    
      def call( request ) ; test( request ) ; end
      
    end
    
  end
  
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
dyoder-waves-0.8.0 lib/matchers/accept.rb
waves-edge-2009.03.10.13.14 lib/matchers/accept.rb
waves-stable-2009.3.10 lib/matchers/accept.rb
waves-0.8.0 lib/matchers/accept.rb
waves-0.8.1 lib/matchers/accept.rb
waves-0.8.2 lib/matchers/accept.rb