class Object

Public Instance Methods

a_delete(path, endpoint = Github.endpoint) click to toggle source
# File spec/support/web_mocks.rb, line 37
def a_delete(path, endpoint = Github.endpoint)
  a_request(:delete, endpoint + path)
end
a_get(path, endpoint = Github.endpoint.to_s) click to toggle source
# File spec/support/web_mocks.rb, line 21
def a_get(path, endpoint = Github.endpoint.to_s)
  a_request(:get, endpoint + path)
end
a_patch(path, endpoint = Github.endpoint.to_s) click to toggle source
# File spec/support/web_mocks.rb, line 29
def a_patch(path, endpoint = Github.endpoint.to_s)
  a_request(:patch, endpoint + path)
end
a_post(path, endpoint = Github.endpoint.to_s) click to toggle source
# File spec/support/web_mocks.rb, line 25
def a_post(path, endpoint = Github.endpoint.to_s)
  a_request(:post, endpoint + path)
end
a_put(path, endpoint = Github.endpoint) click to toggle source
# File spec/support/web_mocks.rb, line 33
def a_put(path, endpoint = Github.endpoint)
  a_request(:put, endpoint + path)
end
stub_delete(path, endpoint = Github.endpoint.to_s) click to toggle source
# File spec/support/web_mocks.rb, line 17
def stub_delete(path, endpoint = Github.endpoint.to_s)
  stub_request(:delete, endpoint + path)
end
stub_get(path, endpoint = GitReflow.git_server.class.api_endpoint) click to toggle source
# File spec/support/web_mocks.rb, line 1
def stub_get(path, endpoint = GitReflow.git_server.class.api_endpoint)
  stub_request(:get, endpoint + path)
end
stub_patch(path, endpoint = Github.endpoint.to_s) click to toggle source
# File spec/support/web_mocks.rb, line 9
def stub_patch(path, endpoint = Github.endpoint.to_s)
  stub_request(:patch, endpoint + path)
end
stub_post(path, endpoint = GitReflow.git_server.class.api_endpoint) click to toggle source
# File spec/support/web_mocks.rb, line 5
def stub_post(path, endpoint = GitReflow.git_server.class.api_endpoint)
  stub_request(:post, endpoint + path)
end
stub_put(path, endpoint = Github.endpoint.to_s) click to toggle source
# File spec/support/web_mocks.rb, line 13
def stub_put(path, endpoint = Github.endpoint.to_s)
  stub_request(:put, endpoint + path)
end