Sha256: 6b23f6a941e750dffe0a09210e772aee5933ad1e63621403328cc94c4165ded5

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

require 'copyscape/request_base'

module Copyscape
  
  class TextSearch < RequestBase

    def initialize(text, encoding = 'UTF-8')
      http_response = post_response(:o => 'csearch', :t => text, :e => encoding)
      @response = Response.new(http_response)
    end

  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
copyscape-0.0.6 lib/copyscape/text_search.rb
copyscape-0.0.5 lib/copyscape/text_search.rb
copyscape-0.0.4 lib/copyscape/text_search.rb