Sha256: eea0657b8a09f48c20bf1a7a7ba75e62f94cf5c74373302df67ecabec58a30ca

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 Bytes

Contents

# encoding: utf-8
require 'contact-data/text/results'

module ContactData
  class Text
    def self.search(text = nil, params = {})
      if params.is_a? Hash
        params[:timeout] ||= 600
        params[:api_base] ||= 'api/v3'
      end

      Results.new text, params
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
contact-data-0.4.9 lib/contact-data/text.rb
contact-data-0.4.8 lib/contact-data/text.rb
contact-data-0.4.6 lib/contact-data/text.rb
contact-data-0.4.5 lib/contact-data/text.rb
contact-data-0.4.4 lib/contact-data/text.rb
contact-data-0.4.3 lib/contact-data/text.rb
contact-data-0.4.2 lib/contact-data/text.rb
contact-data-0.4.1 lib/contact-data/text.rb
contact-data-0.3.4 lib/contact-data/text.rb
contact-data-0.4.0 lib/contact-data/text.rb