Sha256: 41cffda30113ca9a74afc9a7be6950b85c45f5a0acc4204bf401158c62f8135a
Contents?: true
Size: 228 Bytes
Versions: 2
Compression:
Stored size: 228 Bytes
Contents
require "zc_broker_hit/api_call" require "json" module ZcBrokerHit module Inventory def self.get_cars response = ApiCall.get("http://api-inventory.zoomcar.com/inventory/cars") return JSON.parse(response) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zc_broker_hit-0.1.5 | lib/zc_broker_hit/inventory.rb |
zc_broker_hit-0.1.4 | lib/zc_broker_hit/inventory.rb |