Sha256: 864fd06bf4f0ba2c477d1530779262074be2d066644e81b8e8eee47b53ea719a
Contents?: true
Size: 193 Bytes
Versions: 3
Compression:
Stored size: 193 Bytes
Contents
module FcEnrich class FakeClient def post(path, _payload_hash) data = File.read("#{__dir__}/fake_client/post#{path.tr("/", "_")}.json") MultiJson.load(data) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fc_enrich-0.3.0 | lib/fc_enrich/fake_client.rb |
fc_enrich-0.2.1 | lib/fc_enrich/fake_client.rb |
fc_enrich-0.2.0 | lib/fc_enrich/fake_client.rb |