module ImageSearcher::API

Constants

BASE_URI

Public Class Methods

get_json(url) click to toggle source
# File lib/image_searcher/api.rb, line 7
def self.get_json(url)
  response = HTTParty.get(url)
  JSON.parse(response.body)
end