technekes/alchemy-api-rb

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

Summary

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

    def web_method
      "#{method_prefix}GetAuthor"
    end

    private

    def supported_search_types
      %i(html url)
    end

    def indexer
      'author'
    end
  end
end