Sha256: a70f42753a5de636f80b4ac0728848f12840a36195554c22dc57b5eab6e1f4bc
Contents?: true
Size: 220 Bytes
Versions: 5
Compression:
Stored size: 220 Bytes
Contents
# encoding: utf-8 def mock_offer(id = nil, headers = {}) id ||= rand double("Offer: #{id}").tap do |offer| allow(offer).to receive_messages :call_id => id, :headers => headers offer.as_null_object end end
Version data entries
5 entries across 5 versions & 1 rubygems