Sha256: 3945c4d5ec233464272d9f4587123c7ad3e5f1a834879b498eee6634d02c14db
Contents?: true
Size: 367 Bytes
Versions: 11
Compression:
Stored size: 367 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
11 entries across 11 versions & 1 rubygems