technekes/alchemy-api-rb

View on GitHub
lib/alchemy-api/text_categorization.rb

Summary

Maintainability
A
0 mins
Test Coverage
module AlchemyAPI
  class TextCategorization < Base
    Config.add_mode :text_categorization, self

    def web_method
      "#{method_prefix}GetCategory"
    end

    private

    def supported_search_types
      # TODO: fix html
      %i(text url)
    end

    def indexer
      nil
    end
  end
end