Method: LabClient::ProtectedBranches#show

Defined in:
lib/labclient/protected_branches/show.rb

#show(project_id, branch_id) ⇒ Object



19
20
21
22
# File 'lib/labclient/protected_branches/show.rb', line 19

def show(project_id, branch_id)
  project_id = format_id(project_id)
  client.request(:get, "projects/#{project_id}/protected_branches/#{branch_id}", klass: Branch)
end