Sha256: 5198a68963862196c14468d8b2442c0609af5dbff7fd768b2f58f479bb2ddc9e

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

require 'httparty'

module ImageCollage
  class RandomWordApi
    include HTTParty

    base_uri 'http://www.setgetgo.com/randomword/get.php'

    def self.fetch
      get('/').parsed_response
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
imagecollage-0.1.0 lib/imagecollage/random_word_api.rb