Class: ImageCollage::RandomWordApi

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/imagecollage/random_word_api.rb

Class Method Summary collapse

Class Method Details

.fetchObject



9
10
11
# File 'lib/imagecollage/random_word_api.rb', line 9

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