Class: Geet::Github::Branch

Inherits:
Object
  • Object
show all
Defined in:
lib/geet/github/branch.rb

Class Method Summary collapse

Class Method Details

.delete(name, api_interface) ⇒ Object



8
9
10
11
12
# File 'lib/geet/github/branch.rb', line 8

def self.delete(name, api_interface, **)
  api_path = "git/refs/heads/#{name}"

  api_interface.send_request(api_path, http_method: :delete)
end