class Github::Client::GitData::References

def update(*args)

Other tags:
    Api: - public

Parameters:
  • params (Hash) --
def update(*args)
  arguments(args, required: [:user, :repo, :ref]) do
    permit VALID_REF_PARAM_NAMES
    assert_required %w[ sha ]
  end
  patch_request("/repos/#{arguments.user}/#{arguments.repo}/git/refs/#{arguments.ref}", arguments.params)
end