Sha256: fdd8f192e544460cb17774d17d13f2eafd075ac1f1f68d1fb839e9660e0ed1e6
Contents?: true
Size: 430 Bytes
Versions: 15
Compression:
Stored size: 430 Bytes
Contents
class Ey::Core::Client class Real def request_callback(id) request( :path => "/requests/#{id}/callback", :method => :post ) end end class Mock def request_callback(id) request_id = self.uuid request = find(:requests, id).dup request.delete("resource") response( :body => {"request" => request}, :status => 200, ) end end end
Version data entries
15 entries across 15 versions & 1 rubygems