Sha256: 69436611ec005ee8af7845fd6798805116ac8971562e37fabafffd9adee8e892
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true require 'peddler/client' require 'securerandom' module Null class Client < ::Peddler::Client def configure_with_mock_data! self.aws_access_key_id = SecureRandom.hex self.aws_secret_access_key = SecureRandom.hex self.merchant_id = SecureRandom.hex self.primary_marketplace_id = 'ATVPDKIKX0DER' end end module Parser def self.new(res, *) res end end Client.parser = Parser end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
peddler-1.6.7 | test/null_client.rb |
peddler-1.6.6 | test/null_client.rb |
peddler-1.6.5 | test/null_client.rb |
peddler-1.6.4 | test/null_client.rb |