Sha256: 7e544329367299144da420d6b74cfe189666995e0d5b9af8ea1ba83b74a94293

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

require "related_word/version"
require "nokogiri"
require "net/http"
require "uri"

module RelatedWord
  def self.find(word)
    link = "http://semantic-link.com/#/#{word}"
    uri = URI.parse(link)
    response = Net::HTTP.get_response(uri)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
related_word-0.1.0 lib/related_word.rb