Sha256: af231c9a4cf74c9dced1d091b07a1d8963e3f9e1bbfdfa90e11efc5f6b187f0e

Contents?: true

Size: 359 Bytes

Versions: 21

Compression:

Stored size: 359 Bytes

Contents

require 'opener/webservice'

module Opener
  class PropertyTagger
    ##
    # Property tagger server powered by Sinatra.
    #
    class Server < Webservice::Server
      set :views, File.expand_path('../views', __FILE__)

      self.text_processor  = PropertyTagger
      self.accepted_params = [:input]
    end # Server
  end # PropertyTagger
end # Opener

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
opener-property-tagger-3.0.0 lib/opener/property_tagger/server.rb