Sha256: 1f9ae80961439ee287d6c39142443bfc922463ba0060a1dce910a46dd41dacdc
Contents?: true
Size: 933 Bytes
Versions: 5
Compression:
Stored size: 933 Bytes
Contents
def stub_get(path, endpoint = Github.endpoint.to_s) stub_request(:get, endpoint + path) end def stub_post(path, endpoint = Github.endpoint.to_s) stub_request(:post, endpoint + path) end def stub_patch(path, endpoint = Github.endpoint.to_s) stub_request(:patch, endpoint + path) end def stub_put(path, endpoint = Github.endpoint.to_s) stub_request(:put, endpoint + path) end def stub_delete(path, endpoint = Github.endpoint.to_s) stub_request(:delete, endpoint + path) end def a_get(path, endpoint = Github.endpoint.to_s) a_request(:get, endpoint + path) end def a_post(path, endpoint = Github.endpoint.to_s) a_request(:post, endpoint + path) end def a_patch(path, endpoint = Github.endpoint.to_s) a_request(:patch, endpoint + path) end def a_put(path, endpoint = Github.endpoint) a_request(:put, endpoint + path) end def a_delete(path, endpoint = Github.endpoint) a_request(:delete, endpoint + path) end
Version data entries
5 entries across 5 versions & 1 rubygems