class Drover
Constants
- BASE_URL
- SEARCH_VEHICLES_RESULTS_URL
Public Class Methods
search_vehicles_results(params = {})
click to toggle source
# File lib/drover.rb, line 12 def self.search_vehicles_results(params = {}) uri = URI.parse(SEARCH_VEHICLES_RESULTS_URL) response = Net::HTTP.post(uri, params.to_query) JSON.load(response.body) end