Sha256: e90d23fc48527f00d074952b7322a922ec30cff749705620f9c807a636369688
Contents?: true
Size: 368 Bytes
Versions: 39
Compression:
Stored size: 368 Bytes
Contents
module Heroku class API module Mock # stub GET /user Excon.stub(:expects => 200, :method => :get, :path => %r{^/user$}) do |params| request_params, mock_data = parse_stub_params(params) { :body => File.read("#{File.dirname(__FILE__)}/cache/get_user.json"), :status => 200 } end end end end
Version data entries
39 entries across 39 versions & 2 rubygems